Classof1 logo
Fax: 1- 425- 458- 9358 | Toll free: 1- 877- 252 - 7763
Bookmark and Share
Forgot Password? Click Here
Register  |  Account

Need help with Computer Science assignment?

Get customized homework help now!

JAVA

Java derives from C and C++ and also includes internet concept. It was developed by Sun Micro Systems. This language was initially called OAK, given by Gosling. Later it was renamed as ‘Java’ in 1995.

Features of Java:

Simple & Small:

Java is a simple and small language. Syntax of Java is just like C++ language. But programming in java is easier than C++ because

It does not use header files

It eliminates the use of pointers

It eliminates operator overloading and virtual base classes

Java is a simple, small object oriented language.

Object oriented:

Java is a pure object oriented language. Everything in Java is an object. All programs and data reside inside objects and classes. An object model in java is simple and easy to extend.

Distributed:

Java has strong networking facilities. So using java we can create applications on networks. Using java we can open and use the applications on the internet. This facility helps the users from different places to work together on a single application.

Robust:

Memory management or exceptional behaviors of a program are clearly dealt in Java using the techniques called garbage collection and exceptional handling.

In garbage collection java uses a thread to free the objects which are not in use. In exception handling, java uses exclusively written codes to correct the Exceptional situation.

Secure:

Since java is used for programming on internet, security becomes an important issue. Before a java code from internet is interpreted, a security check is applied on it. This ensures that the java code doesn’t contain any undesirable elements like viruses. Java has a facility to sign our java code before sending it. At the receiving end the receiver can tally the signature. If the signature matches the codes reach correctly. If it does not match the codes are not correct.

Platform Independent:

Java compiler generates platform independent code called byte code. These codes can be run in any type of system.

Portable:

Java compiler generates a code called byte code and this code can be used by any machine. So java is a portable language.

Compiled and interpreted:

Java combines both compiler and interpreter. Java compiler generates a machine independent code called bytecode. These codes are not machine codes. Java interpreter generates machine code from bytecode that can be directly executed by the machine that is running the java program.

High Performance:

The performance is high because java interpreter uses bytecodes.

Multithreaded and interactive:

Java supports multithreading. It also supports constructing interactive programs.

Dynamic and Extensible:

Java is a dynamic language. So it is capable of linking dynamically new classes, methods and objects. Java also supports functions written in other languages such as C and C++. These are called native methods. During run time native methods can be linked dynamically.

Computer Science Homework Help
Name* :
Email* :
Country* :
Phone* :
Subject* :
Upload Homework :
Upload another homework (upto 5 uploads max.)
Due Date
Time
AM/PM
Timezone
Instructions
(Type Security Code - case sensitive)