Search your topic in Java2share
Home > FAQs
eXTReMe Tracker


CoreJava FAQs


Untitled Document

Q65. When a thread is created and started, what is its initial state?
A thread is in the ready state after it has been created and started.

Q66. Can an anonymous class be declared as implementing an interface and extending a class?
An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.

Q67. What is the range of the short type?
The range of the short type is -(2^15) to 2^15 - 1.

Q68. What is the range of the char type?
The range of the char type is 0 to 2^16 - 1.