What is abstraction? What is the advantage of abstraction?
What will be an ideal response?
Abstraction refers to the hiding of the internal details of the object from the user. By hiding the internal details from the user, the user cannot inadvertently make changes to the object. Attributes and behaviors that are not hidden are exposed to the user. The idea behind abstraction is to expose to the user only those attributes and behaviors that are necessary to the object, and to hide everything else.
You might also like to view...
A junior administrator is having issues connecting to a router's console port using a TIA/EIA 568B standard cable and a USB serial to RJ-45 adapter, despite verifying terminal settings. What is the issue?
a. Router console ports are only used when connected to other routers. b. The router console port is providing an Ethernet connection, instead of a serial connection. c. The USB standard is incompatible with the serial connection used by the console port. d. The cable must be a rollover cable.
What is a subtree?
What will be an ideal response?
Which of the following does not complete the sentence correctly? An interface_____________.
a. forces classes that implement it to declare all the abstract interface methods. b. can be used in place of an abstract class when there is no default implementation to inherit. c. is declared in a file by itself and is saved in a file with the same name as the interface followed by the .java extension. d. can be instantiated.
To resize several objects as a single object, you can ________ the individual objects into one object
Fill in the blank(s) with correct word