Java Object Creation and Classes

Java Object Creation and Classes

University

20 Qs

quiz-placeholder

Similar activities

Relational Algebra and Calculus

Relational Algebra and Calculus

University

20 Qs

RAID -Redundant Array of Independent Disk

RAID -Redundant Array of Independent Disk

University

15 Qs

2.GRADE STORY 5

2.GRADE STORY 5

2nd Grade - University

15 Qs

Grade 7 Comp - Unit 4 Review

Grade 7 Comp - Unit 4 Review

7th Grade - University

20 Qs

Kuis Pelatihan API Kutim By GIZ

Kuis Pelatihan API Kutim By GIZ

University - Professional Development

20 Qs

ETHICAL, LEGAL, AND SOCIAL ISSUES OF INFORMATION TECHNOLOGY

ETHICAL, LEGAL, AND SOCIAL ISSUES OF INFORMATION TECHNOLOGY

University

20 Qs

A level Y12 Data Representation - Numbers SETS

A level Y12 Data Representation - Numbers SETS

11th Grade - University

18 Qs

Python_Quiz_2

Python_Quiz_2

University

15 Qs

Java Object Creation and Classes

Java Object Creation and Classes

Assessment

Quiz

Computers

University

Medium

Created by

ALDO STALIN J L

Used 362+ times

FREE Resource

AI

Enhance your content

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the statement  int x; What is x ?
a variable
a data type
a class
an object

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the statement 
 Bank tom = new Bank(5000.0);
Which is the class?
Bank
tom
new
5000.0

3.

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the statement  int x; What is int ?
a variable
a data type
a class
an object

5.

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

6.

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()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which package is imported implicitly?

java.applet

java.util

java.lang

java.io

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?