Pages

Saturday, February 2, 2013

Understading Basement of Java in Simple Words


Java is purely object oriented language i.e., everything in Java is written in a Class and accessed using a Object. Java is platform independent as the .class file generated for every .java is run on any system according to the host configuration by the JVM.
Java has a huge API of all the classes, interfaces, packages, methods available in each of them and is an endless ocean to learn. Java is easy to implement and also easy to learn but is a vast subject. 
All Java files are saved with an extension .java and in the command prompt a Java program or a file is compiled using the statement “javac FileName.java”. FileName is always the class name in which the main() method exists, failing which the program doesn’t compile. To run the Java program "java FileName" is used. 
 Java is basically designed into 3 versions based on the platform and domain for which apps will be built using it. They are J2SE, J2ME, J2EE. 
  • J2SE - Java Standard Edition which is used to build standalone apps for a single machine.
  • J2ME - Java Micro Edition which will be used to build apps for the Mobile and Handheld devices.
  • J2EE - Java Enterprise Edition using which apps are built for the business requirements, web applications, network based applications.

0 comments:

Post a Comment