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