In this function header line, what is missing? void PrintNumber(int )

A. Nothing is missing, it is complete.
B. The variable name must be included in the input list.
C. A semi-colon
D. A return type.


B

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. If a program uses multiple classes from the same package, these classes can access each other's package access members directly through references to objects of the appropriate classes, or in the case of static members, through the class name. b. Package access is rarely used. c. Classes in the same source file are part of the same package. d. Use the access modifier package to give a method or variable package access.

Computer Science & Information Technology

When a method returns nothing it is known as a(n) ____ method.

A. empty B. void C. blank D. null

Computer Science & Information Technology

Given Graphics object graph, which statement can you use to change the pen color to red?

A. graph.setColor(Color.red); B. graph.setPen(Color.red); C. setForeground(red); D. graph.getRed();

Computer Science & Information Technology

A. ____________________ database stores information in a single table.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology