142). Which of the following is not OOPS concept in Java?

[A]Inheritance
[B]Encapsulation
[C]Polymorphism
[D]Compilation

Show Answer

143). Which of the following is a type of polymorphism in Java?

[A] Compile time polymorphism
[B]Execution time polymorphism
[C]Multiple polymorphism
[D]Multilevel polymorphism

Show Answer

144). When does method overloading is determined?

[A] At run time
[B]At compile time
[C]At coding time
[D]At execution time

Show Answer

145). When Overloading does not occur?

[A]More than one method with same name but different method signature and different number or type of parameters
[B]More than one method with same name, same signature but different number of signature
[C]More than one method with same name, same signature, same number of parameters but different type
[D]More than one method with same name, same number of parameters and type but different signature

Show Answer

146). Which concept of Java is a way of converting real world objects in terms of class?

[A]Polymorphism
[B]Encapsulation
[C]Abstraction
[D]Inheritance

Show Answer

147). Which concept of Java is achieved by combining methods and attribute into a class?

[A]Encapsulation
[B]Inheritance
[C]Polymorphism
[D]Abstraction

Show Answer

148). What is it called if an object has its own lifecycle and there is no owner?

[A]Aggregation
[B]Composition
[C]Encapsulation
[D]Association

Show Answer

149). What is it called where child object gets killed if parent object is killed?

[A]Aggregation
[B]Composition
[C]Encapsulation
[D]Association

Show Answer

150). What is it called where object has its own lifecycle and child object cannot belong to another parent object?

[A]Aggregation
[B]Composition
[C]Encapsulation
[D]Association

Show Answer

151). Method overriding is combination of inheritance and polymorphism?

[A]True
[B]false
[C]none
[D]none

Show Answer