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

1. When you declare a named constant, an initialization value is not required.
2. A field is visible to all methods within the same class.
3. If you don’t write an access modifier in a field declaration, an error will occur.
4. If a field is a variable of a numeric data type, it will be initialized to 0 by default if you do not explicitly initialize it with a value.


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

Computer Science & Information Technology

You might also like to view...

A __________ is responsible for starting I/O operations on a device and processing the completion of an I/O request.

A) ?basic I/O supervisor ? B) ?basic file system C) ?device driver ? D) ?logical I/O

Computer Science & Information Technology

A tree can consist of a single domain or a parent domain and child domains, which cannot have child domains of their own.

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

Computer Science & Information Technology

Although we cannot develop standard rules for general tree insertions, we can develop standard deletion rules. The first rule is: _____.

A. the root cannot be deleted B. a node may be deleted only if it is a leaf C. only the root can be deleted D. only a node with indegree one can be deleted

Computer Science & Information Technology

Files that you have checked out are marked with ____ check marks in the Files panel.

A. red B. green C. blue D. yellow

Computer Science & Information Technology