REVATURE TECHNICAL INTERVIEW STUDY GUIDE|QUESTIONS WITH CORRECT ANSWERS
Abstraction Correct Answer hide implementation details so user only sees functionality. Polymorphism Correct Answer ability of an object to take many forms. ex. Method overloading, method overriding Method Overloading Correct Answer When two methods have the same name, but different parameters. Method Overriding Correct Answer When a child class overwrites a method inherited from a parent class. Encapsulation Correct Answer Wrapping code and data together in a single unit. Inheritance Correct Answer Child class acquires all properties & behaviors of the parent class Good for code reusability and method overriding SDLC Correct Answer Software Development Life Cycle Abstract Class Correct Answer a class that defines attributes and methods for subclasses but is never instantiated
Document information
- Uploaded on
- November 25, 2022
- Number of pages
- 2
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers