Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
20 views

03.java Features

Uploaded by

shoth456
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

03.java Features

Uploaded by

shoth456
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

03. Java Features By Mr.

Vishnu

Java features
Why java is used?

Java is used because of following features.

Java features:

1. Simple, easy and familiar:

Java is easy to learn and familiar because java syntax is just like c++.

It is simple because:

a) It does not use header files.

b) Eliminated the use of pointer and operator overloading.

2. Platform Independent:

Write once, run anywhere (WORA).

1
Sri Sureka Technologies, NearAndraBank,Opposite Geethanjali High School, Near S.R.Nagar Signal,
S.R.Nagar, Hyderabad-500038, Ph: 040-66616677, Mobile: +91-9885602332.
03. Java Features By Mr. Vishnu

3.Object-Oriented:

Java is Object oriented throughout language- that mean no coding outside of

class definitions, including main().

4. Robust:

Robust means inbuilt capabilities to handle errors/exceptions.

Java is robust because of following:

 Built-in Exception handling.


 Strong type checking i.e. all data must be declared an explicit type.
 Local variables must be initialized.
 Automatic garbage collection.
 First checks the reliability of the code before Execution etc.

5. Secure:

Java is secure because it provides:

 access restrictions with the help of access modifiers (public, private etc).
 byte codes verification – checks classes after loading.

Class loader – confines objects to unique namespaces.

Security manager – determines what resources a class can access such as reading and
writing to the local disk.

6. Distributed:

Java provides the network facility. i.e. programs can be access remotely from any
machine on the network rather than writing program on the local machine. HTTP and
FTP protocols are developed in java.

7. Compiled and interpreted:

Java code is translated into byte code after compilation and the byte code is interpreted
by JVM (Java Virtual Machine). This two steps process allows for extensive code
checking and also increase security.

2
Sri Sureka Technologies, NearAndraBank,Opposite Geethanjali High School, Near S.R.Nagar Signal,
S.R.Nagar, Hyderabad-500038, Ph: 040-66616677, Mobile: +91-9885602332.
03. Java Features By Mr. Vishnu

8. Portable:

Means able to be easily carried or moved. Write once, run anywhere (WORA) feature
makes it portable.

9. Architecture-Neutral:

Java code is translated into byte code after compilation which is independent of any
computer architecture, it needs only JVM (Java Virtual Machine) to execute.

10. High performance:

JVM can execute byte codes (highly optimized) very fast with the help of Just in time
(JIT) compilation technique.

11. Re-usability of code:

Java provides the code reusability With the Help of Inheritance.

12. Multithreading:

Java provides multitasking facility with the help of lightweight processes called threads.

13. Dynamic:

Java have the capability of linking dynamic new classes, methods and objects.

3
Sri Sureka Technologies, NearAndraBank,Opposite Geethanjali High School, Near S.R.Nagar Signal,
S.R.Nagar, Hyderabad-500038, Ph: 040-66616677, Mobile: +91-9885602332.
03. Java Features By Mr. Vishnu

4
Sri Sureka Technologies, NearAndraBank,Opposite Geethanjali High School, Near S.R.Nagar Signal,
S.R.Nagar, Hyderabad-500038, Ph: 040-66616677, Mobile: +91-9885602332.

You might also like