SCJP Certification

Sun Certified Java Programmer Certification exam essentials

Posts Tagged ‘default’

November 2nd, 2009

What is a constructor?

1 Comment, Java Facts, by Daisy Williams.

A constructor provides a convenient way to initialize a newly created object at the time of its creation. A constructor…

Share

October 28th, 2009

How to declare a package?

No Comments, Java Facts, by Daisy Williams.

The package statement is used to declare packages. The word package is a keyword in Java. This statement is not…

Share

September 22nd, 2009

What are the accessibility of members or variables with different modifiers?

No Comments, Java Facts, by Daisy Williams.

The following table summarizes the accessibility of members in various forms: Members/Variables PrivatePublic Protected No modifier Same classYes Yes Yes…

Share