How many classes in a file can be a public class?
Only one.
Constructors are a special kind of method. What are their three peculiarities?
A constructor must have the same name as the class itself. Constructors do not have a return type, not even void. Constructors are invoked using the new operator when an object is created. Constructors play the role of initializing objects.
___ represents an entity in the real world that can be distinctly identified
A class
__ is a construct that defines objects of the same type
A class
An object is an instance of a __
class
__ is invoked to create an object
A constructor
Given the declaration Circle x = new Circle(), which of the following statement is most accurate x contains an int value x contains an object of the Circle type x contains a reference to a Circle object you can assign an int value to x
x contains a reference to a Circle object
The default value for data field of a boolean type, numeric type, object type is ____, respectively
false, 0, null