100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

MODULES 9 AND MODULE 13-15: THE 4 PILLARS OF OOP- PROGRAMMING. Trusted by students across multiple disciplines!

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
23-12-2025
Written in
2025/2026

MODULES 9 AND MODULE 13-15: THE 4 PILLARS OF OOP- PROGRAMMING. Trusted by students across multiple disciplines!

Institution
Graduation In Computer Science
Module
Graduation in computer science








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Graduation in computer science
Module
Graduation in computer science

Document information

Uploaded on
December 23, 2025
Number of pages
4
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

MODULES 9 AND MODULE 13-15: THE 4 PILLARS OF
OOP- PROGRAMMING.
Trusted by students across multiple disciplines!
What is Inheritance? - Answer: Inheritance is a mechanism in which one object
acquires all the properties and behavior of another object of another class. It represents
IS-A relationship. It is used for Code Reusability.


What is Abstraction? - Answer: Abstraction is a process of hiding the implementation
details and showing only functionality to the user. Abstraction lets you focus on what the
object does instead of how it does it.


What is Encapsulation? - Answer: Encapsulation is the combining of data and code into
a single object.


What is Polymorphism? - Answer: When two different objects respond to the exact
same message in different ways. Meaning objects can take on many forms.


What is method overloading? - Answer: It occurs when two or more methods in the
same class have the exact same name but:


1) The number of parameters is different for the methods. (2 parameters vs 3
parameters)
2) The parameter types are different from the previous method. (2 ints vs 2 doubles)


What is method overriding? - Answer: It is a feature that allows subclasses to provide
their own implementation of a method that is already defined in the main class. This
overrides the implementation in the superclass by providing the same method name,
same parameter and same return type.


Abstract Class vs Interface - Answer: -An interface is not a class.

1
APPHIA - Crafted with Care and Precision for Academic Excellence.
$8.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
Apphia

Get to know the seller

Seller avatar
Apphia California University Of Pennsylvania
View profile
Follow You need to be logged in order to follow users or courses
Sold
New on Stuvia
Member since
2 months
Number of followers
0
Documents
1240
Last sold
-
Apphia Tutors - Your Ultimate Study Companion for Academic Excellence.

Apphia Tutors is your all-in-one global study guide hub — built to make learning simple, smart, and rewarding. We bring together thousands of high-quality study materials, topic-specific notes, and verified answers designed to help students master every subject with ease. Whether you’re in high school, college, or university, Apphia Tutors has everything you need — from clear explanations to exam-ready practice questions. Our goal is to turn studying into a confident, stress-free journey toward success. Trusted by learners and educators worldwide, Apphia Tutors is where great grades begin and excellence grows.

Read more Read less
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 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