Tuesday, June 29, 2010

Java training - Basic Java Programming for Newbie’s


Java training


Java itself is not simple to learn, and many would caution against choosing it for a first language. Familiarity with other programming languages like C or C++ would be helpful, but only basic computer skills like installing software are needed. Learning java is an easy task if you put little effort on java training.




If you're looking for a career in Java | J2EE technologies, get Java basics and training on all the advanced technologies. This will prepare you for the SCJP, SCWCD exam too. The environment in which you get to work on projects according to your skill sets.


Getting Started with Java

An interpreter, however, translates and executes each line of code at the same time and the resulting program can be used on most modern computers. Java uses an interpreter named the Java Virtual Machine, or JVM. Interpreted programs are portable between most computers, but the trade off is a slower-running program.

Install Java

  • Download the Java Development Kit, which contains the Java Virtual Machine discusses earlier.
  • An Integrated Developer Environment is also recommended and many are offered free on the Web.
  • Developing Java programs using only the JDK and a text editor is possible, but the average beginner will find it easier to use an IDE for now.

The Basic Parts of a Java Program

Java is object-oriented, which means that a Java program is divided into chunks called objects. An analogy for objects is a business is divided into self-contained departments that perform a unique function. Contrasted with object-oriented programming are procedural languages, which break the entire process into a long series of steps rather than objects.

All Java programs contain a class, the basic blue print needed by the JVM and the computer to run the program. A class is introduced with its declaration word and its name, followed by a set of curly braces: "class uniqueName{}" for example.

The class body contains all of the commands and methods that make a program work. A method is the actual step-by-step instructions for the computer, and all Java desktop applications must contain a special main method. Java applets need not contain a main method, however


Summary

The Java programming language is not simple to learn, so don't be in a hurry to learn everything at once. Understanding concepts like interpreters versus compilers, basic object-oriented programming languages, and the basic parts of a Java program should be emphasized in the beginning to create a strong programmer in the future. Move on to more advanced Java programming tutorials only once these concepts have been mastered.



No comments:

Post a Comment