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

1. enum constants have a toString method.
2. An instance of a class does not have to exist in order for values to be stored in a class's static fields..
3. A class's static methods do not operate on the fields that belong to any instance of the class.
4. You can declare an enumerated data type inside a method.


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

Computer Science & Information Technology

You might also like to view...

The Reset Picture option can restore an image to its original settings

Indicate whether the statement is true or false

Computer Science & Information Technology

In the Word Options dialog box, All Commands can be found from the ________ box

A) Choose commands from B) Add C) New Group D) Customize the ribbon

Computer Science & Information Technology

Match the type of cybercrime with its description

I. Spoofing A. Unauthorized access causes damage II. Techno-vandalism B. Phony Web sites III. Techno-trespass C. Criminal trespass IV. Root access D. Gives the user Admin rights

Computer Science & Information Technology

Donald Knuth proposed that any program could be written with only three constructs: sequences, selection, and repetition.

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

Computer Science & Information Technology