Why Java!?

Java is an Object Oriented Programming Language. This means that everything in Java is an Object, whose template is given by the Class.

Object Oriented Programming Features in Java:
1. Encapsulation
Keep variables private and methods public ie just capsule all the data in java
2. Polymorphism
Showing many forms. In java this is achieved by overriding and overloading
3. Abstraction
Hide the complex implementation hidden from the user and show only the required information
4. Inheritance
In java inheritance can be achieved by either extending a class or implementing an interface

Features of Java
  1. Purely OOPs based
  2. Simple to learn
  3. Robust - Exception handling and Garbage collection make life easy for a Java Developer
  4. Secure - No pointers and high security as it doesnot allow a web applet to read and write from to a file easily
  5. High Performance
  6. Multi-threading
  7. Platform independent and Architecture neutral - java is compile once and run anywhere

Comments

Popular posts from this blog

Writing your own ejabberd Module

npm ECONNREFUSED error

Conditional Flow - Spring Batch Part 6