Easy learning with example program codes

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).

java plateform independant



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:

1. Built-in Exception handling.

2. Strong type checking i.e. all data must be declared an explicit type.

3. Local variables must be initialized.

4. Automatic garbage collection.

5. First checks the reliability of the code before Execution etc.

5. Secure:  

Java is secure because it provides:

1. access restrictions with the help of access modifiers (public, private etc).

2. 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.

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.
Next Topic: JVM architecture details.
Previous Topic: Overview of Java.

Related Topics:

Programming language overview.
Overview of Java.
Java features
JVM (java virtual machine) architecture details.
Difference between JVM, JRE and JDK.
Java Coding Guidelines.



Posted in Java   

Core Java Tutorial

Programming language overview.
Overview of Java.
Java features
JVM architecture details.
Java Coding Guidelines.
Some important definitions.
Variable and data types.
Hello world java program.
Core java examples programs.
Important Java Programs.
How to set permanent path in java?
OOPs Basics.
Object and Class in Java.
OOPs Principles/Concepts.
Abstraction in java.
Encapsulation in java.
Polymorphism in java.
Method overloading in java.
Method overriding in java.
Dynamic method dispatch.
Runtime polymorphism.
Association in java.
Inheritance in java.
Aggregation in java.
Command line arguments in java.
Command line argument program in eclipse.
Read input from command line using Scanner.
Java array programs
Java star pattern programs
Java number pattern programs
final in java.
Abstract class in java.
Interface in java.
Custom marker Interface in java.
Constructor in java.
Package in java.
Access modifier in java.
Static import in java.
Package class in java.
this in java.
Instance initialize block.
Anonymous block.
super in java.
Static in java.
final in java.
Java cloning deep and shallow
Shallow vs Clone copy
String handling in java.
String handling programs.
StringBuffer in java.
StringBuilder in java.
Exception Handling Tutorial.
Multithreading Tutoial.
Java input output stream tutorial.
Collections framework in java tutorial.
Collections framework programs.
Java Random class
Java annotations.
Java design principles.
Java 7 features
Java 8 features
Java networking tutorial
Java Reflection tutorial

Industrial Training

We offers Placement Oriented Training on Java, Spring, JSF, Hibernate, PHP, AngularJS, Angular 4, PLSQL, Oracle BI Publisher etc. We also provides Online training, please mail us at


We also provides the Development services for Website Development , Java Development, PHP Development, Android App Development etc. You can contact us on

Copyright © 2019 CodesJava Protection Status SiteMap Reference: Java Wiki