Search your topic in Java2share
Home > FAQs
eXTReMe Tracker

CoreJava FAQs

Untitled Document

Q201. To what value is a variable of the boolean type automatically initialized?
The default value of the boolean type is false.

Q202. Can try statements be nested?
Try statements may be tested.

Q203. What is the difference between the prefix and postfix forms of the ++ operator?

The prefix form performs the increment operation and returns the value of the increment operation. The postfix form returns the current value all of the expression and then performs the increment operation on that value.

Q204. What is the purpose of a statement block?
A statement block is used to organize a sequence of statements as a single statement group.