Monday, May 31, 2010

The order of access modifiers from least restrictive to most restrictive

I have updated in http://www.freejavaclass.com/

public, protected, default, private

No comments:

Post a Comment

How can instantiate Java interface without implementing.

public interface Foo { String method(); } public class Claaa {    public static void main(String[] args) {     Foo fooByIC...