REVATURE INTERVIEW STUDY GUIDE OOP CONCEPTS,
BEGINNING JAVA, SQL UPDATED ACTUAL EXAM
QUESTIONS AND CORRECT ANSWERS
Question 1.
What Is an Object?
ANSWER
a software bundle of related state and behavior. Often used to model the real-world _______
that you find in everyday life.
Question 2.
What are Fields and Methods?
ANSWER
An object stores its state in _______ and exposes its behavior through _______.
Question 3.
What Is a Class?
ANSWER
a blueprint or prototype from which objects are created.
Question 4.
What Is Inheritance?
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
, Question 5.
What Is an Interface?
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
Question 6.
What is a Package?
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
Question 7.
What is an API?
ANSWER
Application Programming Interface. A package obtained from the huge class library offered by
the Java platform.
Question 8.
What is State and Behavior
ANSWER
Real-world objects contain ___ and ___.
Question 9.
What is Encapsulation
ANSWER
Hiding internal data from the outside world, and accessing it only through publicly exposed
methods is known as data ___.
BEGINNING JAVA, SQL UPDATED ACTUAL EXAM
QUESTIONS AND CORRECT ANSWERS
Question 1.
What Is an Object?
ANSWER
a software bundle of related state and behavior. Often used to model the real-world _______
that you find in everyday life.
Question 2.
What are Fields and Methods?
ANSWER
An object stores its state in _______ and exposes its behavior through _______.
Question 3.
What Is a Class?
ANSWER
a blueprint or prototype from which objects are created.
Question 4.
What Is Inheritance?
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
, Question 5.
What Is an Interface?
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
Question 6.
What is a Package?
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
Question 7.
What is an API?
ANSWER
Application Programming Interface. A package obtained from the huge class library offered by
the Java platform.
Question 8.
What is State and Behavior
ANSWER
Real-world objects contain ___ and ___.
Question 9.
What is Encapsulation
ANSWER
Hiding internal data from the outside world, and accessing it only through publicly exposed
methods is known as data ___.