Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Object-Oriented Programming [Java] Questions and Answers (Expert Solutions)

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
31-07-2025
Written in
2024/2025

Object-Oriented Programming [Java] Questions and Answers (Expert Solutions)

Institution
Object-Oriented Programming
Module
Object-Oriented Programming

Content preview

Page | 1



Object-Oriented Programming [Java]
Questions and Answers (Expert Solutions)


Q: Three Fundamental Features of OOP, 🗹🗹: Encapsulation

Inheritance

Polymorphism


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


Q: Inheritance, 🗹🗹: A relationship between two classes in which one class ( the
subclass) inherits all of the properties and capabilities of another ( the superclass)


Q: Polymorphism, 🗹🗹: Declaring a variable to have one type while it refers to an
object of a subclass of that type.


Q: Object-Oriented Analysis, 🗹🗹: A means of determining what aspects of a given
problem can be viewed as objects in an eventual object-oriented design.


Q: Object-Oriented Design, 🗹🗹: A software design method that models the
characteristics of abstract or real objects using classes and objects.


Q: Object-Oriented Programming, 🗹🗹: A programming technique that features
objects, classes, encapsulation, interfaces, polymorphism, and inheritance.


Q: Cohesion, 🗹🗹: Degree to which responsibilities of a given component are a
meaningful unit

, Page | 2

Q: Cohesion vs Coupling, 🗹🗹: Greater cohesion reflects better design. Less coupling
reflects better design.


Q: Coupling, 🗹🗹: Degree to which one component must directly access the data of
another component.


Q: Roles, 🗹🗹: Sets of Responsibilities


Q: Roles vs. Objects, 🗹🗹: They are the same when a given role is always played by
the same object type.


Q: Software Components, 🗹🗹: Reuse of code (e.g. Visual Basic, JavaBean)


Q: Frameworks, 🗹🗹: Reuse of "plug-in" code (e.g. Java Swing)


Q: Design Paterns, 🗹🗹: Reuse of Design


Q: Agile Software Development, 🗹🗹: A philosophy of software development that
embraces flexibility and agility. The design "evolves".


Q: 3 Means of Object-Object Access, 🗹🗹: - Parameter Passing

- Object declared in method

- Object is a member of another object through composition [subtype]


Q: Is-a Relationship, 🗹🗹: Describes an inheritance relationship between two classes


Q: Has-a Relationship, 🗹🗹: The relationship demonstrated by a class that contains
another class.


Q: Uses-a Relationship, 🗹🗹: Implemented-In-Terms-Of Relationship

Written for

Institution
Object-Oriented Programming
Module
Object-Oriented Programming

Document information

Uploaded on
July 31, 2025
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

£9.27
Get access to the full document:

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

Get to know the seller
Seller avatar
StudyRM

Get to know the seller

Seller avatar
StudyRM University Of California - Los Angeles (UCLA)
Follow You need to be logged in order to follow users or courses
Sold
5
Member since
8 months
Number of followers
0
Documents
4113
Last sold
2 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions