Convention : Entry Point ( WPF )

  • Entry Point of Java Codes
  • Java Class
  • Declaration Rules
    • Only one public class per file.
    • Name of the file and class must have the same name signature.
      • like
    • Using Package : Java is Package Centric  Indeed.
      • One source file : javac package_name\
      • All the files : javac package_name\*.java

  • Class Declarations :
    • Access Modifiers ClassName{}
      • public, protected, private
    • Non-Accessible Modifiers: strictfp, final and abstract
Can be accomplished from command prompt or Visual IDE like Eclipse

Steps: Using Eclipse :  (Please follow the screen shots)

Now Add a Class

Code Snippet

Run and Done