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