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
Document preview thumbnail
Preview 2 out of 8 pages
Exam (elaborations)

Revature Interview Study Guide: OOP Concepts, Beginning Java, SQL UPDATED Exam Questions and CORRECT Answers

Document preview thumbnail
Preview 2 out of 8 pages

Revature Interview Study Guide: OOP Concepts, Beginning Java, SQL UPDATED Exam Questions and CORRECT Answers What Is an Object? - CORRECT ANSWER - a software bundle of related state and behavior. Often used to model the real-world _______ that you find in everyday life. What are Fields and Methods? - CORRECT ANSWER _______ and exposes its behavior through _______. What Is a Class? - CORRECT ANSWER - An object stores its state in - a blueprint or prototype from which objects are

Content preview

Revature Interview Study Guide: OOP
Concepts, Beginning Java, SQL UPDATED
Exam Questions and CORRECT Answers
What Is an Object? - CORRECT ANSWER - a software bundle of related state and
behavior. Often used to model the real-world _______ that you find in everyday life.


What are Fields and Methods? - CORRECT ANSWER - An object stores its state in
_______ and exposes its behavior through _______.


What Is a Class? - CORRECT ANSWER - a blueprint or prototype from which objects are
created.


What Is Inheritance? - CORRECT ANSWER - provides a powerful and natural
mechanism for organizing and structuring your software. allows classes to inherit commonly
used state and behavior from other classes


What Is an Interface? - CORRECT ANSWER - contract between a class and the outside
world. When a class implements an ___________, it promises to provide the behavior published
by that interface. A group of related methods with empty bodies


What is a Package? - CORRECT ANSWER - a namespace for organizing classes and
interfaces in a logical manner. Makes large software projects easier to manage. Think of them as
files on your computer


What is an API? - CORRECT ANSWER - Application Programming Interface. A package
obtained from the huge class library offered by the Java platform.


What is State and Behavior - CORRECT ANSWER - Real-world objects contain ___ and
___.

, What is Encapsulation - CORRECT ANSWER - Hiding internal data from the outside
world, and accessing it only through publicly exposed methods is known as data ___.


What is a Variable? - CORRECT ANSWER - a structure for temporarily storing data in
your computer's memory.


What is an Instance Variable? - CORRECT ANSWER - A variable declared after the class
declaration, but outside of any methods. These variable can have different values for each
separate instance of the class.


What is a Class Variable? - CORRECT ANSWER - Whenever a variable has the keyword
static attached to it. It means that every object of that class will share the same value for that
variable.


What is a Local Variable? - CORRECT ANSWER - When a variable is declared inside of a
method. They do not exist outside of the method they are declared in.


What is a Primitive Variable? - CORRECT ANSWER - Data types such as integers,
decimals, and alphanumeric characters.


EX: int x = 3;


What is a Reference Variable? - CORRECT ANSWER - Stores memory addresses where
objects are located, and dictate how those objects are accessed.


EX: String myString = new String("Hello World");


What is an Array? - CORRECT ANSWER - a collection of primitive values or object
references, stored in a single variable with an index. Has a fixed size and Data type

Document information

Uploaded on
March 26, 2025
Number of pages
8
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
£8.47

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.
STANFORDGENIUS
4.0
(238)
Sold
1577
Followers
108
Items
114411
Last sold
8 hours ago




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

Working on your references?

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

Working on your references?

Frequently asked questions