Answer the following statements true (T) or false (F)

1. Methods are commonly used to break a problem into small manageable pieces.
2. Two general categories of methods are void methods and value-returning methods.
3. In the method header, the method modifier public means that the method belongs to the class, not a specific object.
4. Constants, variables, and the values of expressions may be passed as arguments to a method.

2.
3.
4.


1. TRUE
2. TRUE
3. FALSE
4. TRUE

Computer Science & Information Technology

You might also like to view...

Windows XP’s localized least-recently-used page-replacement algorithm is “localized” by ________.

a) time b) process c) thread d) page frame location

Computer Science & Information Technology

What should you do if you receive an email you suspect might contain a virus?

A. Open the email to verify if it indeed contains a virus. B. Forward the email to a friend and ask them to check if it contains a virus. C. Contact the IT department and ask someone to check if the email is legitimate. D. Do nothing.

Computer Science & Information Technology

The maximum allowable filename in the Windows 98, 2000 and XP operating system families is ____.

A. 8 characters plus an optional period and 3-character extension B. 14 characters C. 155 characters D. 255 characters

Computer Science & Information Technology

?What netstat command option lists only current connections, including IP addresses and port numbers?

A. ?-s B. ?-r C. ?-n D. ?-o

Computer Science & Information Technology