The package statement is used to declare packages. The word package is a keyword in Java. This statement is not…
October 27th, 2009
What is a static method?
No Comments, Java Facts, by Daisy Williams.Static methods are those methods that are declared with the keyword static as modifier are called static methods or class…
October 16th, 2009
What is an abstract class?
No Comments, Java Facts, by Daisy Williams.An abstract class is a class that is partially implemented. It provides design convenience. An abstract class consists of one…
October 9th, 2009
What is a ClassCastException?
No Comments, Java Facts, by Daisy Williams.A ClassCastException is thrown when an attempt is made to cast an object, which is not of the appropriate run-time…