Podcast
Questions and Answers
Which keyword is used to declare Class variables and class methods?
Which keyword is used to declare Class variables and class methods?
What operator creates an object and returns its reference?
What operator creates an object and returns its reference?
Which type of method can be called without creating an instance of a class?
Which type of method can be called without creating an instance of a class?
What refers to more than one method having the same name but different parameters?
What refers to more than one method having the same name but different parameters?
Signup and view all the answers
Which method is invoked automatically with the creation of an object?
Which method is invoked automatically with the creation of an object?
Signup and view all the answers
Which keyword is used to refer to a superclass constructor in a subclass constructor?
Which keyword is used to refer to a superclass constructor in a subclass constructor?
Signup and view all the answers
Which method of a Java class is invoked automatically with the creation of an object?
Which method of a Java class is invoked automatically with the creation of an object?
Signup and view all the answers
What is the keyword used in Java to call the constructor of the superclass in the constructor of a subclass?
What is the keyword used in Java to call the constructor of the superclass in the constructor of a subclass?
Signup and view all the answers
How many levels of visibility are used to protect a method or variable from unauthorized reference in Java?
How many levels of visibility are used to protect a method or variable from unauthorized reference in Java?
Signup and view all the answers
In Java, what component generally makes up a class?
In Java, what component generally makes up a class?
Signup and view all the answers
Which operator in Java allows access to instance variables and instance methods?
Which operator in Java allows access to instance variables and instance methods?
Signup and view all the answers
What differentiates a Constructor from a general method in Java?
What differentiates a Constructor from a general method in Java?
Signup and view all the answers