Thursday, August 14, 2014

java tricks

1. Run java program without a class.

public enum AAA {

    AAA;

    public static void main(final String[] args) {
        System.out.println("H");
    }

}
But an Enum is a class: it just a trick.

2. all about bits in java :- detail explanation

https://drive.google.com/file/d/0B6HqPNr88ksWb0oxa1o3MUVDSTQ/edit?usp=sharing




3.How to create java executable file in java ,means jar file .as my experience I never created jar file using cmd I always preferred eclipse to creating jar file .

https://drive.google.com/file/d/0B6HqPNr88ksWMTFqR2Q5SUhQWlU/edit?usp=sharing

No comments:

Post a Comment