REVATURE INTERVIEW QUESTIONS
AND ANSWERS 2025-2026
Object-oriented programming (OOP) is a programming language model based
on objects that contain data and methods. It is an instance of a class. Four major
concepts:
1. Encapsulation
2. Abstraction
3. Inheritance
4. Polymorphism.
Variables are a structure that temporarily stores data in your computer's
memory.
1. basic variables are data types such as integers, decimals, and alphanumeric
characters.
2. Reference variables store memory addresses where objects are located. utilize
a class (name) as their type and can only point to instances of the class that is
their type.
Arrays - ANSWER A collection of primitive values or object references ordered
by index.
A certain amount of RAM is reserved for an array based on its size and data
type.
Instance variable: ANSWER defined in the class scope.
,{ } indicates a change in scope.
What exactly is a DBMS? ANSWER Database Management System
What is an RDBMS? - ANSWER: Rational Database Management System
stores data in tables with columns and rows.
Ex. SQL Server
A class is a blueprint or prototype that is used to generate objects. A depiction
of a particular type of thing. For example, the Vehicle class specifies the most
basic characteristics of a vehicle.
Inheritance - ANSWER Inheritance allows one class to access the properties
and methods of another. Allows for parent-child relationships. For example, a
car and a truck inherit vehicle functions, but the car is not a truck, and vice
versa. A class inherits fields and methods from all of its superclasses, either
directly or indirectly. A subclass has the ability to override or hide properties or
methods from its inherited classes.
Interface - ANSWER a description of what an object can accomplish. An
interface describes all of the functions that an object must have in order to be
considered a "X". http://images.slideplayer.com/14/4328130/slides/slide_3.jpg
Why use an interface? - The primary application is polymorphism, or the ability
to perform the same action on a variety of objects.
, Package - A namespace that contains a collection of related classes and
interfaces. Used to organize things by grouping related classes and interfaces
into packages. Used in Java to avoid naming conflicts.
How to create and use objects - ANSWER You can declare, instantiate with the
new keyword, or initialize by invoking the constructor.
You can use the dot method to call object fields and its functions.
Encapsulation is the notion of hiding information and encapsulating code into a
single unit. Data is not accessible directly.
API - ANSWER Application Programming Interface - Contains the
comprehensive listing of all packages, interfaces, classes, fields, and methods
provided by the Java SE platform.
Association - ANSWER A relationship between two groups. There is no
ownership between items. For example, a teacher *has* or *teaches* a student.
The teacher and student share no ownership.
ANSWER: Aggregation is a weak type of Association with partial ownership.
For an Aggregation relationship, we use the term *uses*. For example, a person
has an address. If you take away the address, nothing changes about the
individual.
Composition - ANSWER A strong type of Association with complete
ownership. This is stronger than the weak Aggregation. In a composition
relationship, we use the phrase *owns*. For example, a vehicle has an engine. If
you take away that engine, the car will no longer function.
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 luzlinkuz. 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.