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