Professional Documents
Culture Documents
This is to convey my sincere thanks to MR.N.C.PANT sir for their unconditional help and thorough guidance . I am highly indebted to him for being supportive and directive our undertaking of this venture. This project would not have been possible without their keen and guidance.
S.NO.
1. 2.
3. 4. 5. 6. 7. 8.
TITLE
JAVA HISTORY JAVA FEATURE
HOW DO JAVA DIFFERS FROM C AND C++
PAGE NO.
1-2 3
4-7 8 9 10-13 14 15
HARDWARE AND SOFTWARE REQUIREMENTS JAVA SUPPORT SYSTEMS JAVA ENVIRONMENT SUMMARY BIBLIOGRAPHY
Java is a general purpose , object oriented programming language by SUN MICROSYSTEM of U.S.A in 1991 . .
YEAR DEVLOPMENT
1990
SUN MICROSOFT decided to develop software that could manipulate consumer ELECTRONIC DEVICES.
The team announced a new language named OAK after the exploring of the language c++ The team know as GREEN PROJECT team by sun , demonstrated the application of new LANGUAGE to control list of home appliances The WWW appeared on the INTERNET and transformed the text based internet into graphical rich environment.
1991
1992
1993
1994
The team developed web browser called HOTJAVA to locate and run applet program. OAK was renamed JAVA due to some legal snags . Java is just a name not an acronym. JAVA established itself not only as the leader for the INTERNT PROGRMMING but also as a OBJECT ORIENTED PROGAMMING LANGUAGE .
1995 1996
JAVA is the first programming language that is not tied to any particular hardware or operating system . Programs developed in JAVA can be executed anywhere on any system.JAVA IS A REVOLUTIONALLY TECHNOLOGY because it has brought in a fundamental shift in how we develop and use program
The inventors of JAVA wanted to design a language which offer solutions to some of the problems encountered in modern programming. Some of the features of JAVA are----------o o o o o o o o o Complied and interpreted Platform-independent and portable Object oriented Robust and secure Distributed Familiar , simple and small Multithreaded and interactive High performance Dynamic and extensible
Although , JAVA was modeled after C and C++ languages , it differs from C and C++ in many ways. JAVA does not incorporate a number of features available in c and c++.
JAVA is lot like C but the major the differences between JAVA and C are o JAVA does not include the C unique statement keywords goto,sizeof. o JAVA does not include the data types struct , union and enum. o JAVA does not support an explicit pointer type. o JAVA does not define the type modifiers keywords . o JAVA does not have preprocessor and therefore we cannot use #define, #include and #ifdef statement. o JAVA does not support any mechanism for defining variable arguments to function. o JAVA requires that the functions with no argument must be declared with empty parenthesis and with void keywords. o JAVA adds new operator . o JAVA adds many features required for object-oriented programming.
Some major C++ features that were intentionally omitted from JAVA or significantly modified. JAVA does not support operator overloading. JAVA does not have template classes as in C++. JAVA does not use pointers. JAVA has replaced the destructor function with a finalize () function. JAVA does not support multiple inheritance of classes . This is accomplished using a new feature called INTERFACE JAVA does not contain any header files. JAVA does not support global variables.
C++
C
JAVA
The internet is a vast sea of information represented in many formats and stored on many computers. A large portion of the internet is organized as the WWW which uses HYPERTEXT. WEB BROWSERS are used to navigate through the information found on the net. Example of web browsers includes: HOTJAVA. NETSCAPE NAVIGATOR. INTERNET EXPLORER.
BYTECODE
APPLET TAG
HTML DOCUMENT WEB SERVER
OUTPUT
The minimum Hardware and software requirement for windows 95 version of JAVA are IBM compatible 486 system a hard drive minimum of 8MB memory windows 95 software Sound card a Microsoft compatible mouse
SUPPORT SYSTEM
DESCRIPTION
INTERNET CONNECTION
WEB SERVER WEB BROWSER HTML APPLET TAG
JAVA CODE
BYTECODE
JAVA Environment includes a large number of development tools and hundreds of classes and methods. The development tools part are the system known as JAVA DEVELOPMENT KIT (JDK) and the classes and methods are part of the JAVA STANDARD LIBRARY (JSL) ,also known as APPLICATION PROGRAMMING INTERFACE (API).
The JAVA development kit comes with a collection of tools that are used for developing and running JAVA programs. They include APPLETVIEWER ( for viewing java applets ). JAVADOC ( for creating HTML document ). JAVAC ( java compiler ). JAVA ( java interpreter ). JAVAP ( java disassemble ). JAVAH ( java header file). JDP ( java debugger ).
The JAVA STANDARD LIBRARY (API) includes hundreds of classes and methods grouped into several functional package . Most commonly package are----
AWT PACKAGE : The abstract window tool kit package contains classes
that implements platform-independent GUI.
TEXT EDITOR
JAVADOC
HTML FILE
JAVAH
HEADER FILE
JDB
In this project , we a have introduced brief history of JAVA and its salient features. JAVA is a pure object-oriented language introduced by SUN MICROYSTEMS of USA and has a number of characteristics that makes it suitable for INTERNET PROGRAMING . We have discussed briefly how JAVA can be incorporated into the WWW system with the help of web browsers. We have also brought out some of the fundamental differences b/w JAVA and C/C++ languages. Finally, we discussed the environment required and various tools available for implementing JAVA program.