JAVA Programming

JAVA Programming


Have you heard of JAVA programming?

JAVA ProgrammingHave a look through the texts below. It will give you a clear idea about JAVA programming.

JAVA is a very popular Object Oriented Programming Language. Yet it contains primitive types. Primarily it was developed by James Gosling and his colleagues at Sun Micro Systems.Initially this language was called "Oak". Many features of C++ can be called to be summarized in JAVA. JAVA was basically designed for executing applets which are downloaded while web browsing. Fortunately the language has gathered a rapid worldwide acceptance as a programming language and it started to replace C or C++.

Types of JAVA Programming

JAVA Application(Stand Alone System)- A standalone application is one, which when executed produces output( O/P) either in the form of UI or on the JVM console. JAVA technology is now used to develop certain web and desktop applications. Nowadays JAVA is holding a a major position in the the development technology of standalone or desktop applications.

JAVA applets( or Internet Applets)- JAVA applets were first introduced in 1995. A JAVA applet is not a large application. It was written using JAVA programming language which compiles to JAVA bytecode.It was delivered to users in the form of Java byte code. Java applets can be run using Java Virtual Machine or JVM. Java applets run faster than javascript.The way of including an image in a HTML document is similar to the  way  of including a Java applet in a HTML document.


Features of JAVA programming language

1) JAVA is an OOP(Object Oriented Programming) language.
2) JAVA is a platform independent language. You have heard of the term " Write Once, Run Everywhere". JAVA is based on this. Basically here platform means the Operating Systems(OS's).
3) JAVA is a case sensitive language. It knows the difference between upper case and lower case characters.
4) JAVA is a robust programming language.It is very useful and trustworthy.
5)JAVA offers safety to the users. It gives secure platform for the development and running of applications. It also protects the privacy of data.
6)JAVA can create applets as well as applications.
7)JAVA is fast.
8)JAVA creates application program without the help of preprocessors.
9) JAVA needs compiler and interpreter.
JAVA Programming

JVM and byte code
Basically JAVA is a high level language. When a JAVA program is written, it is compiled and get converted into an intermediate code called the byte code.This byte code can be transferred from system to system as it is platform independent. To run this byte code on any system, an interpreter called Java Virtual Machine(JVM) is needed which converts the byte code into the machine level language. JVM is similar to a virtual processor as it processes the byte code to machine code. This is the reason why JAVA need a compiler and an interpreter.

JAVA Libraries
For numerous purposes, the JDK or the JAVA Development Kit uses JAVA class Library. Some useful packages  in the JAVA Class Library are > java.lang  >java.io  > java.math > java.awt > java.txt > java.net. > java.applet

Reserved Keywords of JAVA
There are few words which cannot be used as a variable name. Those words are stored in with the system. Similarly for JAVA there are some reserved keywords. They are - 1) case 2) switch 3) else 4) break 5) static 6) do 7) const 8) throws 9) float 10) char 11) try 12) int 13) double 14) void 15) goto 16) for 17) while 18) new 19) import 20) boolean 21) long 22) if 23) byte 24) package 25) private 26) catch 27) short 28) public 29) class 30) switch. ( Note: This words are case dependent. If you use upper case characters to write this words then it will show errors, basically called the syntax errors.)


 Hope you have got an answer about your question" What is JAVA Programming?".....











No comments:

Powered by Blogger.