• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

Object-Oriented Programming [Java] UPDATED Exam Questions and CORRECT Answers

Document preview thumbnail
Preview 2 out of 6 pages

Object-Oriented Programming [Java] UPDATED Exam Questions and CORRECT Answers Three Fundamental Features of OOP - CORRECT ANSWER Inheritance Polymorphism Encapsulation - CORRECT ANSWER - Encapsulation - An object-oriented technique in which the internal details of an object are "hidden" in order to simplify their use and reuse.

Content preview

Object-Oriented Programming [Java]
UPDATED Exam Questions and CORRECT
Answers
Three Fundamental Features of OOP - CORRECT ANSWER - Encapsulation
Inheritance
Polymorphism


Encapsulation - CORRECT ANSWER - An object-oriented technique in which the internal
details of an object are "hidden" in order to simplify their use and reuse.


Inheritance - CORRECT ANSWER - A relationship between two classes in which one
class ( the subclass) inherits all of the properties and capabilities of another ( the superclass)


Polymorphism - CORRECT ANSWER - Declaring a variable to have one type while it
refers to an object of a subclass of that type.


Object-Oriented Analysis - CORRECT 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 - CORRECT ANSWER - A software design method that models
the characteristics of abstract or real objects using classes and objects.


Object-Oriented Programming - CORRECT ANSWER - A programming technique that
features objects, classes, encapsulation, interfaces, polymorphism, and inheritance.


Cohesion - CORRECT ANSWER - Degree to which responsibilities of a given component
are a meaningful unit

, Cohesion vs Coupling - CORRECT ANSWER - Greater cohesion reflects better design.
Less coupling reflects better design.


Coupling - CORRECT ANSWER - Degree to which one component must directly access
the data of another component.


Roles - CORRECT ANSWER - Sets of Responsibilities



Roles vs. Objects - CORRECT ANSWER - They are the same when a given role is always
played by the same object type.


Software Components - CORRECT ANSWER - Reuse of code (e.g. Visual Basic,
JavaBean)


Frameworks - CORRECT ANSWER - Reuse of "plug-in" code (e.g. Java Swing)



Design Paterns - CORRECT ANSWER - Reuse of Design



Agile Software Development - CORRECT ANSWER - A philosophy of software
development that embraces flexibility and agility. The design "evolves".


3 Means of Object-Object Access - CORRECT ANSWER - - Parameter Passing
- Object declared in method
- Object is a member of another object through composition [subtype]


Is-a Relationship - CORRECT ANSWER - Describes an inheritance relationship between
two classes


Has-a Relationship - CORRECT ANSWER - The relationship demonstrated by a class that
contains another class.

Document information

Uploaded on
April 17, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
STANFORDGRADESS
4.0
(241)
Sold
1717
Followers
113
Items
123756
Last sold
1 day ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions