Java Method Basics

Java Method Basics

11th Grade

12 Qs

quiz-placeholder

Similar activities

EmTech Q1 Pre-Test 3

EmTech Q1 Pre-Test 3

11th Grade

10 Qs

Inițiere în microsoft access

Inițiere în microsoft access

11th Grade

12 Qs

ICT S120 (Prelim Review)

ICT S120 (Prelim Review)

11th Grade

15 Qs

IGCSE Computer Science - Input Devices

IGCSE Computer Science - Input Devices

9th - 11th Grade

10 Qs

Learning SQL

Learning SQL

11th - 12th Grade

15 Qs

Memahami PBO

Memahami PBO

11th Grade - University

15 Qs

Word Module 3 Letter Vocabulary Test

Word Module 3 Letter Vocabulary Test

9th - 12th Grade

15 Qs

Review Quiz #2- Productivity Tools

Review Quiz #2- Productivity Tools

11th - 12th Grade

10 Qs

Java Method Basics

Java Method Basics

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Anne Kohart

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the difference between a class and an object?

A class is a blueprint to make an object
An object is a blueprint to make a class
A blueprint is an object to make a class
Blueprint class is an object make a

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

An object is an instance of a:

parameter
method
class
application

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

As a blueprint is a design for a house, a class is a design for a(n):

object
variable
constant
statement

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Data type for non return method is

int

double

void

public static

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Copy of _________________ are created for each object of the class.

Class Variables

Static Variables

Instance Variables

Local Variables

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is/are true about name of constructor?

Keyword can be used to name a constructor

It may only be main()

User may decide any name

Must be same as that of its class

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Constructor are used to-

Assign values to instance variables

Assign values to constants

Allocate memory space to variables

All of above

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?