OOAD Interview Questions
Questions Answers Views Company eMail

What are the types of polymorphism?

540

What is inheritance in java?

546

What is abstract method?

524

If there is a conflict between base class method definition and interface default method definition, which definition is picked?

1 1124

Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?

547

What if we make the method as abstract in another interface?

513

What is the @functionalinterface annotation?

534

Can we have a default method definition in the interface without specifying the keyword "default"?

526

What is a nested interface?

573

If a method definition has been specified in the base class and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?

509

Can we use static method definitions in interfaces?

543

Can a class implement two interfaces having default method with same name and signature?

565

What if we override the conflicting method in the class?

511

Can we override static methods? Why?

503

Can we access interface static method using interface references?

516


Post New OOAD Questions

Un-Answered Questions { OOAD }

Explain about object oriented programming?

590


Difference between encapsulation and data hiding ?

503


Explain the different types of constructors

513


Can I implement polymorphism using abstract class?

560


Can an interface contain fields?

567






What is the main use of message metaphor in object-oriented programming?

660


What's the main difference between arraylist / hashmap and vector / hashtable?

535


What is the practical implementation of inner classes?

519


What is meant by inheritance? what are the advantages of inheritance?

533


How can I be thrown polymorphically?

564


What are the various types of constructors?

602


Name the different creational patterns in object oriented design?

552


What is the difference between multiple and multilevel inheritance?

564


What is meant by overloading functions and operators?

568


What is the difference between aggregation and composition?

502