Object-Oriented Programming [Java] Exam Questions With Correct Answers
0 view 0 purchase
Course
Java
Institution
Java
Object-Oriented Programming [Java] Exam
Questions With Correct Answers.
Three Fundamental Features of OOP - AnswerEncapsulation
Inheritance
Polymorphism
Encapsulation - AnswerAn object-oriented technique in which the internal details of an object
are "hidden" in order to simplify their use an...
Object-Oriented Programming [Java] Exam
Questions With Correct Answers.
Three Fundamental Features of OOP - Answer✔Encapsulation
Inheritance
Polymorphism
Encapsulation - Answer✔An object-oriented technique in which the internal details of an object
are "hidden" in order to simplify their use and reuse.
Inheritance - Answer✔A relationship between two classes in which one class ( the subclass)
inherits all of the properties and capabilities of another ( the superclass)
Polymorphism - Answer✔Declaring a variable to have one type while it refers to an object of a
subclass of that type.
Object-Oriented Analysis - Answer✔A means of determining what aspects of a given problem
can be viewed as objects in an eventual object-oriented design.
Object-Oriented Design - Answer✔A software design method that models the characteristics of
abstract or real objects using classes and objects.
Object-Oriented Programming - Answer✔A programming technique that features objects,
classes, encapsulation, interfaces, polymorphism, and inheritance.
Cohesion - Answer✔Degree to which responsibilities of a given component are a meaningful
unit
Cohesion vs Coupling - Answer✔Greater cohesion reflects better design. Less coupling reflects
better design.
Coupling - Answer✔Degree to which one component must directly access the data of another
component.
Roles - Answer✔Sets of Responsibilities
Roles vs. Objects - Answer✔They are the same when a given role is always played by the same
object type.
1|Page
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Brightstars. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.