Answer the following statements true (T) or false (F)
1. In a general sense, a class is a collection of statements that performs a specific task.
2. If a specific task is performed in several places in a program, a method can be written once to perform that task and then be executed any time it is needed.
3. Every method must have a nonempty parameter list.
4. A method definition has two parts: a header and a body.
5. The statements that make up the method body are enclosed inside a set of curly braces.
1. false
2. true
3. false
4. true
5. true
Computer Science & Information Technology
You might also like to view...
The top of the screen should be two or three inches ________ eye level
Fill in the blank(s) with correct word
Computer Science & Information Technology
Wireless network connections are slower than wired broadband connections
Indicate whether the statement is true or false
Computer Science & Information Technology