basic of java


 History of JAVA

• Java was developed by James Gosling.

• At that time it is known as “OAK”.

• But it is renamed as JAVA in 1995.

• It can follow the OOP concept.


Features of JAVA

1. Compiled and interpreted

-> A computer language is either compiled or interpreted.

-> Java combines both features therefore it is two stage system.

-> First java compiler translate source code into bytecode and bytecode is not machine

-> instruction therefore interpreter translate bytecode into machine code.

2. Platform independent and interpreted

-> Java programs can be easily moved from one computer system to another system.

-> If you upgrade in any operating system then it will not affect in the java programms.

3. Object Oriented

-> Java is a true object-oriented language.

-> Almost everything in java is an object.

-> Java is an extensive set of classes which are arranged in packages and we can use it by

inheritance.

4. Robust and Secure

-> Java is a robust language because it provides many safeguards to ensure reliable code.

-> It will check data type compile time and runtime.

-> Security becomes an important point for a java programming on internet.

5. Distributed

-> Java is designed as a distributed language for creating applications on networks.

-> It has the ability to share both data and programs.

->In java multiple programmers at multiple remote locations to collaborate and work together on a single project.

6. Simple small and familiar

-> Java is a small and simple language.

-> Many features of C and C++ are not come in java so it become small.

-> For example, java does not use pointers, operator overloading, preprocessor header

files, goto statement, multiple inheritance.

-> java has more feature of C and C++ so that java is familiar to us.

7. Multithreaded and interactive

-> Multithreaded means handling multiple tasks simultaneously.

-> Java support multithreaded means we need not wait for the application to finish one

task before beginning another task.

-> For example, we can listen to an audio clip while scrolling a page.

-> This improves interactive program.

8. High performance

-> java architecture is defined to reduce error and amount of time.

-> So that java gives high performance.

9. Dynamic and Extensible

-> java is a dynamic language because it is capable of dynamically linking a new class

libraries, methods and classes.

-> java program support functions written in other languages such as C and C++.

-> These functions are known as native methods.

10) Monitoring and Manageability

-> Java supports a number of APIs, such as JVM Monitoring and Management interface.

-> It manage java programs.

No comments:

Post a Comment