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
You might also like to view...
Alignment is the horizontal placement of text, whether it is between the left and right margins in a Word document
Indicate whether the statement is true or false
__________ is the dominant search engine in China.
A. Baidu B. Yandex C. Google D. Yahoo!
Item F shows which of the following of Dreamweaver's built-in ftp client?
A. Expand button B. Collapse button C. List servers button D. Delete button
A network technician responds to a customer reporting that a workstation keeps losing its network connection. The user explains that it occurs randomly and it happens several times throughout the day. Which of the following troubleshooting methods should the technician perform FIRST?
A. Test the theory B. Establish a plan of action C. Gather information D. Question the obvious