Search your topic in Java2share
Home > FAQs
eXTReMe Tracker


CoreJava FAQs


Untitled Document

Q125. Name the eight primitive Java types?
The eight primitive types are byte, char, short, int, long, float, double, and boolean.

Q126. Which class should you use to obtain design information about an object?
The Class class is used to obtain information about an object's design.

Q127. What is the relationship between clipping and repainting?
When a window is repainted by the AWT painting thread, it sets the clipping regions to the area of the window that requires repainting.

Q128. Is "abc" a primitive value?
The String literal "abc" is not a primitive value. It is a String object.