Saturday, May 1, 2010

Java Tips

  • The Default value of uninitialized int variable is Zero.
  • Border layout or grid layout affected by the frame size this case with not apply flow layout.
  • When a class is properly encapsulated it is possible to change the class  implementation with out chnge it interface.
  • Implementation change do not affect other class which aside by this interface.
  • The Abstract Keywords must precede the method return type.
  • A Java package is a naming context for classes and & Interface.
  • A compilation unit is a java source code file.
  • Package name or statement appear as the first line in a source code file.
  • java.lang package is always imported by default.return type of a main method is void
  • argument of main method is always string type.

No comments:

Post a Comment