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