Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Question 12 of 20 5.0 Points A(n) __________ method is a method that does not depend on the contents of an object, and therefore can be called...

Question 12 of 20

5.0 Points

A(n) __________ method is a method that does not depend on the contents of an object, and therefore can be called independently, such as methods within the Math class.

 A. overloaded   

 B. user-defined   

 C. static   

 D. public

Question 13 of 20

5.0 Points

A static method can:

 A. call only other static methods of the same class directly.   

 B. manipulate only static fields in the same class directly.   

 C. be called using the class name and a dot (.).   

 D. All of the above

Question 14 of 20

5.0 Points

A programmer can __________ a program by creating user-defined methods, which are reusable methods available to be called from several locations in a program.

 A. program   

 B. define   

 C. compartmentalize   

 D. modularize

Question 15 of 20

5.0 Points

In object-oriented programming, methods __________ have the same name, but with a different set of parameters. This is called method __________.

 A. can; overloading   

 B. cannot; overloading   

 C. can; enumeration   

 D. cannot; enumeration

Question 16 of 20

5.0 Points

A method can accept several parameters. Each value passed to the method is separated by a:

 A. comma (,).   

 B. plus (+).   

 C. colon (:).   

 D. spacer ( ).

Question 17 of 20

5.0 Points

The __________ keyword allows the programmer to declare a set of constant values represented by identifiers.

 A. ref   

 B. out   

 C. enum   

 D. return

Question 18 of 20

5.0 Points

Which of the following describes a static variable?

 A. A variable with one copy shared by all class objects   

 B. A variable whose value may not be changed   

 C. All of the above   

 D. None of the above

Question 19 of 20

5.0 Points

By definition, the __________ of a declared object is the portion of the application that can refer to the declared entity by an unqualified name.

 A. use   

 B. return   

 C. enum   

 D. scope

Question 20 of 20

5.0 Points

When overloading methods, the __________ of the method is ignored by the compiler, which will result in an error if the method names and parameter list are the same.

 A. name   

 B. return type   

 C. parameter order   

 D. parameter data types

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question