solutions 100%
The new operator: - correct answer ✔✔All of the above
A method that performs some action but does not return a value is called a __________ method. -
correct answer ✔✔void
For a method that returns a value, the method body must contain at least one _________ statement. -
correct answer ✔✔return
A variable whose meaning is confined to a method definition is called an/a ____________ variable. -
correct answer ✔✔local
The parameter "this" refers to a/an: - correct answer ✔✔calling object
When the parameters in a method have the same name as an instance variable in the method, you can
differentiate them by using the _____ specifier. - correct answer ✔✔this
Two methods that are expected to be in all Java classes are: - correct answer ✔✔toString and equals
To hide the details of class members in a class definition, you mark the members as _________. - correct
answer ✔✔private
A setting method is - correct answer ✔✔a mutator method
The name of a method and its list of ________ types in the method definition header (heading) is called
the method signature. - correct answer ✔✔parameter
, A static method is one that can be used with a - correct answer ✔✔class name as a calling object
Only ______ copy/copies of a static variable(s) are available to objects of a class. - correct answer
✔✔one
All of the following are wrapper classes except: - correct answer ✔✔String
Converting from a value of primitive type to a corresponding object of its associated wrapper class is
called: - correct answer ✔✔Boxing
The conversion from an object of a wrapper class to a value of its associated primitive type is called: -
correct answer ✔✔Unboxing
When you use the assignment operator with variables of a class type, you are assigning a: - correct
answer ✔✔reference
A copy constructor has _________ parameters. - correct answer ✔✔one
A condition that allows a programmer to circumvent the private modifier and change the private
instance variable is called: - correct answer ✔✔a privacy leak
A class that contains public methods that can change the data in the object of a class is called a/an: -
correct answer ✔✔mutable class
To create a package, you must add a package statement at the ____________ of each class file. - correct
answer ✔✔beginning
In a static method, you may use the this parameter either explicitly or implicitly - correct answer
✔✔False
A main method can be placed inside a class definition. - correct answer ✔✔True