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