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