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