Question: Another name for a class variable is a(n) a. Defined variable b. Local variable c. Instance variable d. Check variable A variable declared inside a

Another name for a class variable is a(n) a. Defined variable b. Local variable c. Instance variable d. Check variable A variable declared inside a method is called a(n) a. Object b. Instance variable c. Primitive variable d. Local variable 8. 9. 9 10. A return value of void means 10 a. The method does not return a value b. The method returns a zero c. The method will not execute its code d. Methods are not allowed to have a void return value 11. The act of hiding class data from the user is called a. Inheritance b. Encapsulation c. Polymorphism d. Privatization 12. When the same object handles two or more data types, we call this 12 a. Inheritance b. Encapsulation Polymorphism d. c. Java does not permit this action 13. In a UML chart the "" sign stands for 13 a. Publi b. Private c. Protected d. Discrete 14 14. Good class design requires class variables to be a. Public b. Private c. The same type d. Primitive 15 15. Class objects can change the data in the class a. Directly b. Through the accessor methods c. Through the mutator methods d. Through methods written in the driver program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
