REVATURE INTERVIEW STUDY GUIDE; OOP
CONCEPTS, BEGINNING JAVA, SQL
QUESTIONS AND ANSWERS
What Is An Object? - ANSWER is a software bundle including connected state
and behavior. Frequently used to represent the real-world _______ that you
encounter in everyday life.
What are fields and methods? - ANSWER An object maintains its state in
_______ and exposes its behavior via _______.
What is a Class? - ANSWER: A blueprint or prototype from which items are
constructed.
What is Inheritance? - ANSWER provides a powerful and natural way to
organize and structure your software. Classes can inherit commonly used state
and behavior from other classes.
What is an interface? - A contract formed between a class and the outside
world. When a class implements a ___________, it agrees to offer the behavior
specified by the interface. A collection of similar methods with empty bodies.
What is a package? - ANSWER A namespace that organizes classes and
interfaces logically. Makes huge software projects more manageable. Consider
them as files on your computer.
What is an API? - ANSWER: Application Programming Interface. A package
derived from Java's extensive class library.
What is State and Behavior? Real-world objects include ___ and ___.
, What is encapsulation? - Answer Data ___ refers to the practice of keeping
internal data hidden from the outside world and only allowing access through
publicly available means.
What is a variable? - ANSWER: A structure for temporarily storing data in your
computer's memory.
What is an instance variable? - ANSWER A variable declared after the class
declaration but outside of any methods. These variables may have distinct
values for each individual instance of the class.
What is a class variable? - ANSWER Whenever a variable has the term static. It
signifies that all objects in that class will have the same value for that variable.
What is a local variable? - ANSWER When a variable is declared within a
method. They do not exist independently of the method in which they are
disclosed.
What is a primitive variable? - ANSWER Data types include integers, decimals,
and alphanumeric characters.
Example: int x = 3;
What is a reference variable? - ANSWER Memory addresses are stored and
used to control how things are accessed.
CONCEPTS, BEGINNING JAVA, SQL
QUESTIONS AND ANSWERS
What Is An Object? - ANSWER is a software bundle including connected state
and behavior. Frequently used to represent the real-world _______ that you
encounter in everyday life.
What are fields and methods? - ANSWER An object maintains its state in
_______ and exposes its behavior via _______.
What is a Class? - ANSWER: A blueprint or prototype from which items are
constructed.
What is Inheritance? - ANSWER provides a powerful and natural way to
organize and structure your software. Classes can inherit commonly used state
and behavior from other classes.
What is an interface? - A contract formed between a class and the outside
world. When a class implements a ___________, it agrees to offer the behavior
specified by the interface. A collection of similar methods with empty bodies.
What is a package? - ANSWER A namespace that organizes classes and
interfaces logically. Makes huge software projects more manageable. Consider
them as files on your computer.
What is an API? - ANSWER: Application Programming Interface. A package
derived from Java's extensive class library.
What is State and Behavior? Real-world objects include ___ and ___.
, What is encapsulation? - Answer Data ___ refers to the practice of keeping
internal data hidden from the outside world and only allowing access through
publicly available means.
What is a variable? - ANSWER: A structure for temporarily storing data in your
computer's memory.
What is an instance variable? - ANSWER A variable declared after the class
declaration but outside of any methods. These variables may have distinct
values for each individual instance of the class.
What is a class variable? - ANSWER Whenever a variable has the term static. It
signifies that all objects in that class will have the same value for that variable.
What is a local variable? - ANSWER When a variable is declared within a
method. They do not exist independently of the method in which they are
disclosed.
What is a primitive variable? - ANSWER Data types include integers, decimals,
and alphanumeric characters.
Example: int x = 3;
What is a reference variable? - ANSWER Memory addresses are stored and
used to control how things are accessed.