Test on CIS 212 including data abstraction, composition, and inheritance
Doesn't have any implementation of methods
Has abstract methods but possibly some defined methods as well
Is only accessed from the same package
Has only implemented methods
None of the above
Rate this question:
Public
Protected
Package (aka default)
Private
Rate this question:
One
Two
Infinite
You cannot
Rate this question:
For making composition possible
For data abstraction
For encapsulation and information hiding
For being able to use inheritance
None of the above
Rate this question:
When you extend a class
When you implement an interface
When you extend an abstract class
When an object A has a reference to another object B, and only A has a reference to it. Also A determines lifetime of B.
When a class calls the super constructors
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.