Professional Documents
Culture Documents
Question 1
Correct
It is the most fundamental entity in Java or any other Object Oriented Language.
Select one:
a. Behavior
b. Class
c. Method
d. Object
Question 2
Correct
These are variables which have declarations inside methods, constructors or blocks.
Select one:
a. Instance variables
b. Variable Types
c. Class variables
d. Local variables
https://trimestral.amaesonline.com/2313A/mod/quiz/review.php?attempt=135705&cmid=5852 1/7
10/19/23, 9:49 AM Prelim Quiz 2: Attempt review
Question 3
Correct
The class whose properties and functionalities are use (inherited) by another class is known as _______________?
Select one:
a. Parent Class
b. Child Class
c. B and C
d. Sub Class
Question 4
Correct
Sub class is invoked when we create the object of subclass, it by default invokes the default constructor of super class.
Select one:
a. Constructor
b. Super Keyword
c. Super Class
d. Inheritance
Question 5
Correct
The capability of a method to do different things based on the object that it is acting upon. In other words, it allows you define one
interface and have multiple implementations.
Select one:
a. Abstraction
b. Inheritance
c. Polymorphism
d. Encapsulation
https://trimestral.amaesonline.com/2313A/mod/quiz/review.php?attempt=135705&cmid=5852 2/7
10/19/23, 9:49 AM Prelim Quiz 2: Attempt review
Question 6
Correct
It has the static keyword as a prefix in its declaration. Its definition occurs only inside a class and outside any function.
Select one:
a. Instance variables
b. Class variables
c. Variable Types
d. Local variables
Question 7
Correct
Select one:
a. Super Keyword
b. Super Class
c. Inheritance
d. Constructor
Question 8
Correct
These variables are inside a class however outside any method. They come into existence when the class instantiates.
Select one:
a. Variable Types
b. Instance variables
c. Class variables
d. Local variables
https://trimestral.amaesonline.com/2313A/mod/quiz/review.php?attempt=135705&cmid=5852 3/7
10/19/23, 9:49 AM Prelim Quiz 2: Attempt review
Question 9
Incorrect
Select one:
a. Protected
b. Public
c. Private
d. No Modifier
Question 10
Correct
Select one:
a. Private
b. Access Modifier
c. Protected
d. Public
Question 11
Correct
Select one:
a. Reusability of code
b. Avoids duplicity and data redundancy
c. One superclass can be used for the number of subclasses in a hierarchy
d. Allows you to define one interface
https://trimestral.amaesonline.com/2313A/mod/quiz/review.php?attempt=135705&cmid=5852 4/7
10/19/23, 9:49 AM Prelim Quiz 2: Attempt review
Question 12
Correct
The super keyword refers to the ______________, immediately above of the calling class in the hierarchy.
Select one:
a. Constructor
b. Super Class
c. Super Keyword
d. Inheritance
Question 13
Correct
Select one:
a. Method
b. Object
c. Class
d. Behavior
Question 14
Correct
Attributes and methods with the access modifier protected can be accessed within your class, by all classes within the same package,
and by all subclasses within the same or other packages.
Select one:
a. No Modifier
b. Public
c. Private
d. Protected
https://trimestral.amaesonline.com/2313A/mod/quiz/review.php?attempt=135705&cmid=5852 5/7
10/19/23, 9:49 AM Prelim Quiz 2: Attempt review
Question 15
Correct
The same method in child class which is already present in the parent class.
Select one:
a. Object Overriding
b. Method Overriding
c. Method Overloading
d. Object Overloading
Question 16
Correct
This is the most restrictive and most commonly used access modifier. If you use the this modifier with an attribute or method, it can
only be accessed within the same class.
Select one:
a. Protected
b. Public
c. No Modifier
d. Private
Question 17
Correct
The process by which one class acquires the properties (data members) and functionalities(methods) of another class.
Select one:
a. Encapsulation
b. Abstraction
c. Polymorphism
d. Inheritance
https://trimestral.amaesonline.com/2313A/mod/quiz/review.php?attempt=135705&cmid=5852 6/7
10/19/23, 9:49 AM Prelim Quiz 2: Attempt review
Question 18
Correct
This is the least restrictive access modifier. Methods and attributes that use the public modifier can be accessed within your current
class and by all other classes.
Select one:
a. Protected
b. No Modifier
c. Private
d. Public
Question 19
Correct
One of the OOPs feature that allows us to perform a single action in different ways.
Select one:
a. Encapsulation
b. Polymorphism
c. Abstraction
d. Inheritance
Question 20
Correct
The class that extends the features of another class is known as _____________?
Select one:
a. Child Class
b. Sub Class
c. Parent Class
d. B and C
Jump to...
https://trimestral.amaesonline.com/2313A/mod/quiz/review.php?attempt=135705&cmid=5852 7/7