Function overriding
Encapsulation
Function overloading
None
Abstraction
Data hiding
Hiding complexity
Member Functions
Data Members
Both a and b
None of these
public
default
Inheritance
Polymorphism
Compilation
Compile time polymorphism
Execution time polymorphism
Multiple polymorphism
Multilevel polymorphism
A=B+C;
A=8;
Both A and B
Procedure Oriented Programming
Modular Programming
Object Oriented Programming
At run time
At compile time
At coding time
At execution time
Explicit Type Conversion
Implicit Type Conversion
None of These
Class
Object
Method
.java
.class
. (dot)
+ (plus)
– (minus)
/ (divide)
Composition
Multiple inheritance for classes
multiple inheritance of interface
compile time polymorphism
One object is used to create one class.
One class is used to create one object.
One object can create many classes.
One class can create many objects.
JVM
Source Code
Bytecode
Variables
Literals
Keywords
Punctuators
Identifier
Operator
Value
Program
High level Language
Wrapping data fields with methods
Hiding data and internal methods using access modifiers in a class
Using Interfaces
All of the above
Simple Interest
SimpleInterest
1SimpleInterest
Simple@Interest
Method hiding
Hiding constructor
class Cat extends Animal
class Animal extends Cat
Both are correct way
None is correct way
obj1
1obj
Obj 1
Obj#1
Punctuator
Variable
Separator
class
method overriding
method overloading
constructor overloading
operator overloading
polymorphism
Functions of the object
Data Members of the object
Content of an object
All of these
Operators
Identifiers
All of These
Compile time
Run time
Both
Behaviour
Situation