Java Class and Object Concepts

Java Class and Object Concepts

Assessment

Flashcard

Information Technology (IT)

12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

6 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is a class in Java?

Back

A blueprint to create objects.

2.

FLASHCARD QUESTION

Front

What is an object in Java?

Back

An instance of a class.

3.

FLASHCARD QUESTION

Front

Which of the following is allowed when overloading a method? public int sum(int one, int two) public int sum(int three, int four), public int sum(int one, int two) public int sum(double one, int two), public int sum(int one, int two) public int sum(int two, int one), Method Overloading is not possible in Java.

Back

public int sum(int one, int two) public int sum(double one, int two)

4.

FLASHCARD QUESTION

Front

In the statement
Car myCar = new Car("red");
Which is the object?

Back

myCar

5.

FLASHCARD QUESTION

Front

How many objects can be made from a class? Options: None, you make classes from objects, one, As many as you want, All of the above

Back

As many as you want

6.

FLASHCARD QUESTION

Front

This is syntax of creating ______.

Back

object

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?