|
Java offers following four access specifiers: 1) public: public classes, methods, and fields can be....
|
Category:
Core Java
|
Date:
11/9/2009 6:29:07 AM
|
|
|
|
A static variable is associated with the class as a whole rather than with specific instances of a c....
|
Category:
Core Java
|
Date:
11/9/2009 6:25:11 AM
|
|
|
|
Yes, we can create an abstract class without abstract methods.
|
Category:
Core Java
|
Date:
11/9/2009 6:20:54 AM
|
|
|
|
"while" statement checks the condition at the beginning of a loop to see whether the next ....
|
Category:
Core Java
|
Date:
11/9/2009 6:16:44 AM
|
|
|
|
public: main() is the first method called by java environment when a program is executed so it has t....
|
Category:
Core Java
|
Date:
11/9/2009 6:12:58 AM
|
|
|
|
All Java programs are compiled into class files that contain bytecodes. These byte codes can be run ....
|
Category:
Core Java
|
Date:
11/9/2009 6:09:51 AM
|
|
|
|
All threads must implement the run() method, whether they are a inherite from Thread class or implem....
|
Category:
Core Java
|
Date:
10/30/2009 5:10:31 AM
|
|
|
|
The scope of a Java variable is determined by the context in which the variable is declared. Thus a ....
|
Category:
Core Java
|
Date:
10/30/2009 4:56:04 AM
|
|
|
|
Applets may communicate with other applets running in the same virtual machine. If the applets are o....
|
Category:
Core Java
|
Date:
10/30/2009 4:21:44 AM
|
|
|
|
Primitive data types are passed by value.
|
Category:
Core Java
|
Date:
10/30/2009 4:17:35 AM
|
|
|
|
Yes, Try statements can be nested.
|
Category:
Core Java
|
Date:
9/12/2009 8:20:13 PM
|
|
|
|
A Java package is a naming context for classes and interfaces. A package is used to create a separat....
|
Category:
Core Java
|
Date:
9/12/2009 8:19:01 PM
|
|
|
|
All the thread objects must implement the run() method, whether they are a subclass of Thread or imp....
|
Category:
Core Java
|
Date:
9/12/2009 8:12:44 PM
|
|
|
|
The if statement is used to select among two alternatives. It uses a boolean expression to decide wh....
|
Category:
Core Java
|
Date:
9/12/2009 8:10:53 PM
|
|
|
|
Java does not support multiple inheritence directly but it does through the concept of interfaces. ....
|
Category:
Core Java
|
Date:
9/12/2009 8:08:22 PM
|
|
|