SCJP Certification

Sun Certified Java Programmer Certification exam essentials

Posts Tagged ‘static’

November 10th, 2009

What will be the ouput of the following program?

No Comments, Java Facts, by Daisy Williams.

class box { int height; int weight; box( int a, int b) { height=a; weight=b; System.out.println(height); System.out.println(weight); } } class…

Share

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…

Share

August 26th, 2009

Static Import statements

No Comments, Java Facts, by Daisy Williams.

The static import is a new feature of J2SE 5.0 that allows unqualified access to static members without inheriting from…

Share