Revature Interview Study Guide: OOP
Concepts, Beginning Java, SQL
What Is an Object? - ✔✔a software bundle of related state and behavior. Often used to model the
real-world _______ that you find in everyday life.
Wha
...
Revature Interview Study Guide: OOP
Concepts, Beginning Java, SQL
What Is an Object? - ✔✔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? - ✔✔An object stores its state in _______ and exposes its
behavior through _______.
What Is a Class? - ✔✔a blueprint or prototype from which objects are created.
What Is Inheritance? - ✔✔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? - ✔✔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? - ✔✔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? - ✔✔Application Programming Interface. A package obtained from the huge
class library offered by the Java platform.
What is State and Behavior - ✔✔Real-world objects contain ___ and ___.
What is Encapsulation - ✔✔Hiding internal data from the outside world, and accessing it only
through publicly exposed methods is known as data ___.
What is a Variable? - ✔✔a structure for temporarily storing data in your computer's memory.
What is an Instance Variable? - ✔✔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? - ✔✔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? - ✔✔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? - ✔✔Data types such as integers, decimals, and alphanumeric
characters.
EX: int x = 3;
What is a Reference Variable? - ✔✔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? - ✔✔a collection of primitive values or object references, stored in a single
variable with an index. Has a fixed size and Data type
What are all of the Access Modifiers? - ✔✔Public, Protected, Private, Default
What is Method Overloading? - ✔
[Show More]