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] UPDATED ACTUAL Exam Questions and CORRECT Answers

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
24-06-2025
Written in
2024/2025

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

Institution
JAVA
Course
JAVA

Content preview

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


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


Roles - Sets of Responsibilities



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


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



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



Design Paterns - Reuse of Design


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


3 Means of Object-Object Access - - Parameter Passing

- Object declared in method

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



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


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

, Uses-a Relationship - Implemented-In-Terms-Of Relationship



Static Members - Known as "class variables", because there is only one unique value for all the
objects of that same class.



This - Special reference that refers to the object in which it is used.


Super - Special reference that refers to the superclass of the object in which it is used.



Liskov Substitution Principle - Determine whether a subclass is a subtype



Protected Access - No outside classes can use this data field, except descendant classes. Defeats
the purpose of OOP.



Upcasting - Type cast to the type of an ancestor class. Is usually done automatically.


Downcasting - Type cast to the type of a descendant class; may cause runtime errors.



Interfaces - A purely abstract class. Can only contain constants and method signatures.


Marker Interface - An interface with no methods or fields



Use Case Diagram - UML diagram that captures all actors (an individual or another system) and
use cases involved with a system or product. Used to model user requirements.



Use Case - Functional requirement of a system as a sequence of steps.

Written for

Institution
JAVA
Course
JAVA

Document information

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

Subjects

CA$19.33
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
GradeVaultAcademy

Also available in package deal

Get to know the seller

Seller avatar
GradeVaultAcademy Havard School
Follow You need to be logged in order to follow users or courses
Sold
2
Member since
10 months
Number of followers
0
Documents
841
Last sold
7 months ago
GradeVault Academy.

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

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 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

Frequently asked questions