Filters
Question type

Study Flashcards

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

What is the purpose of the new operator?

Correct Answer

verifed

verified

The new operator is used to cr...

View Answer

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

A) True
B) False

Correct Answer

verifed

verified

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) B) and D)
F) B) and C)

Correct Answer

verifed

verified

The Java language supports global variables.

A) True
B) False

Correct Answer

verifed

verified

Showing 41 - 45 of 45

Related Exams

Show Answer