Java Classes and Objects

Java Classes and Objects

12th Grade

10 Qs

quiz-placeholder

Similar activities

AP Computer Science A Quiz

AP Computer Science A Quiz

12th Grade

15 Qs

Creating Java Programs

Creating Java Programs

10th - 12th Grade

14 Qs

PE2 Module 3

PE2 Module 3

9th - 12th Grade

10 Qs

Advanced Java Study Guide

Advanced Java Study Guide

11th - 12th Grade

10 Qs

Option D - OOP

Option D - OOP

11th - 12th Grade

9 Qs

Unit D Review - Exploring Classes

Unit D Review - Exploring Classes

12th Grade

11 Qs

Komputer

Komputer

1st Grade - University

11 Qs

INTRODUCTION TO OOP TECHNIQUE

INTRODUCTION TO OOP TECHNIQUE

11th - 12th Grade

15 Qs

Java Classes and Objects

Java Classes and Objects

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Wayground Content

Used 5+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?