In Java, this class contains the main method and is in charge of running other classes.
Driver Class
What is the return type of the following method: public static int myMethod(int count, double value).
Int
In Java, this keyword is used to create an instance of a class, also known as an object.
New
In java, this concept is when you protect sensitive fields from being modified by outside classes. They can only be modified through public setter and getter methods from within the class.
Encapsulation
In java, this special type of method instantiates a new class. It is called once during object creation.
Constructor
This is the term used to describe the process of creating an object from a class
instanciating
The words public and private are ____ _____.
Access modifiers
In the following method declaration, how many formal parameters are there?public static double squareRoot(double value) { return 2.3;}.
1
This type of method, defined within a class, can be called without creating an instance of the class.
Static Method
Modifiers that don't control access level are _____ _____.
Non-access modifiers
The restrictions on what methods, variables, and keywords a static method cannot access within the class.
this, super, non-static methods and variables
In Java, this keyword is used to refer to the current instance of a class within its own methods and constructors.
This
Once a class has been declared, we can create objects that belong to the class. We say that these objects are ______ of the class.
Instances
When are the static initialization blocks stored in the memory?
During class loading
The statement to initiate an int object.
Integer x = new Integer(1);