Declaring a class with all the data and functions public violates which principle(s) of object-oriented programming?
What will be an ideal response?
This violate the encapsulation principle of object-oriented programming.
You might also like to view...
Which of the following is an example of a metasearch search engine?
A) ipl2 B) Dogpile C) Google D) Yippy
The real power of structures is realized when they are used in an array.
Answer the following statement true (T) or false (F)
One difference between the basic 911 system and the enhanced system is that
a. the enhanced system identifies the number and location from which the call is being made. b. the enhanced system has a forced disconnect feature. c. the basic system can automatically route calls. d. the basic system does not have the ring-back feature.
Which statement is not true for binary trees.
a) The left child in the root node is the first node in the left subtree. b) The children of a node are called siblings. c) A node with no children is called an orphan. d) The root node is the first node in the tree.