Showing posts with label Java For Beginners. Show all posts
Showing posts with label Java For Beginners. Show all posts

Java For Beginners

  JAVA  FOR BEGINNERS  

 Java is a high level object oriented programming language.java developed by sun Microsystems in 1995.java runs on variety of platforms such as windows , Mac is , and various versions of UNIX.
Java For Beginners
Java For Beginners

Java Is Platform Independent

Platform independent is a program capability of moving from one computer system to another.
Java is portable.
Java is security.
Java is simple.

We will discuss about  simple java program

Class firstjava {
public  static void main( String args [])
{
System. out.println("hello  world");
}
}

this program has two main parts:

All the program enclosed in a class definition:  - here class called first java.

Body  of the program contained in a method called main(). In java applications as in c and c++
Program. main() is the first method or function in the program that is run when  the program is executed.


This continue will come in  next post.