Questions and Answers
What is the purpose of inheritance in Java?
To create a parent-child relationship between classes
Which keyword is used to refer to the immediate parent class instance variable?
super
What is the main advantage of polymorphism in Java?
Improved code reusability
Which type of polymorphism is achieved through method overriding?
Signup and view all the answers
What is the purpose of the 'final' keyword in Java?
Signup and view all the answers
Which type of operator is used to perform operations on variables and values in Java?
Signup and view all the answers
What is the purpose of the 'if' statement in Java?
Signup and view all the answers
Which type of statement allows for multiple alternative paths in Java?
Signup and view all the answers
What is the purpose of the '&&' operator in Java?
Signup and view all the answers
Which type of operator is used to assign a value to a variable in Java?
Signup and view all the answers
What is the systematic study of uncertainty?
Signup and view all the answers
What does the term 'probability' measure?
Signup and view all the answers
How is probability defined in the context of decision-making?
Signup and view all the answers
What term describes the relative frequency with which each outcome occurs in a large number of repetitions?
Signup and view all the answers
What is the measure of one's belief in the occurrence of a future event?
Signup and view all the answers