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