IT 114: Introduction to Java
Class 28 Ungraded Quiz
-
What is the name of the method Java will automatically
call when you try to print an object?
-
What must the name of a constructor be?
-
Does a constructor have a return type in the header?
-
Does the constructor contain a return statement?
-
What is the default value for an integer field?
-
What is the default value of a field that points to an object?
-
What is the keyword that points to the object itself
within a class declaration>