Posts

Showing posts from August 28, 2010

Basics

  Introduction to Java JAVA is related to C++, which is direct descendent of C. Much of character of JAVA is inherited from these two languages. This language was initially called “Oak” but was renamed as JAVA. The trouble with C and C++ is that they are designed to be compiled for a specific target. Although it is possible to compile a C++ program for just about any type of CPU, to do so requires a full C++ compiler for that CPU. The problem is that compilers are expensive and time consuming to create. The solution of this problem led to the creation of java. Some important features of JAVA: 1)      SIMPLE: JAVA is SIMPLE because in it we don’t use pointers as in C++ and it was designed to be easy professional programmer to learn and use effectively. If one already understands the basic concepts of object oriented programming learning Java will be even easier. 2)      OBJECT-ORIENTED: JAVA is pure OBJECT-ORIENTED because in the |JAVA main within the class. Object Oriented Progr