Search Header Logo

Java Classes and Objects

Authored by Wayground Content

Computers

12th Grade

Used 15+ times

Java Classes and Objects
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<class name><Object name>=new <class name>();

This is syntax of creating ______.

class

object

method

function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the statement  int x; What is int ?

a variable
a data type
a class
an object

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Classes in Java are:

Abstract data types, used as a template of objects

Where students learn

Dungeons and Dragons Character types

None of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the statement 
Bank tom = new Bank(5000.0);

Which is the object?

Bank
tom
new
5000.0

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The ____ method executes first in an application, regardless of where you physically place it within its class.

execute()
main()
start()
run()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the statement  int x; What is x ?

a variable
a data type
a class
an object

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many objects can be made from a class?  

None, you make classes from objects
one
As many as you want
All of the above

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?