Given this class:
Which two changes would encapsulate this class and ensure that the area field is always equal to length * height whenever the Rectangle class is used?
Correct Answer:
AE
Given:
What is the result?
Correct Answer:
B
Which three statements describe the object-oriented features of the Java language? (Choose three.)
Correct Answer:
BCF
Given the definitions of the MyString class and the Test class:
What is the result?
Correct Answer:
D
Given:
What is the result?
Correct Answer:
A