Filters
Question type

Study Flashcards

What is the purpose of the new operator?

Correct Answer

verifed

verified

The new operator is used to cr...

View Answer

The new operator:


A) allocates memory
B) is used to create an object of a class
C) associates an object with a variable that names it.
D) All of the above.

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

An object of class A is an instance of class A.

A) True
B) False

Correct Answer

verifed

verified

Write a method called isEqual that returns a Boolean value.The method compares two integers for equality.

Correct Answer

verifed

verified

/** method to compare to integ...

View Answer

The Java language supports global variables.

A) True
B) False

Correct Answer

verifed

verified

Showing 41 - 45 of 45

Related Exams

Show Answer