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

1. When the keyword void appears in the method header, it means the method will return a value.
2. When a method is declared with the private access modifier, it can be called only by code inside the same class as the method.
3. In general, the same naming rules that apply to variables also apply to methods.
4. In a method header, the name is always followed by a set of parentheses.

1. false
2. true
3. true
4. true

Computer Science & Information Technology

You might also like to view...

Microsoft ________ is a free presentation tool that you can use to create and share interactive reports and presentations

Fill in the blank(s) with correct word

Computer Science & Information Technology

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

1. When overloading an operator, you can change the behavior of the operator, making + do things that feel like multiplication, but this is unwise. 2. When overloading an operator, you can create a new operator different from the more usual operators.

Computer Science & Information Technology