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