Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere! .First version of java(JDK 1.0) released in 23rd Jan 1996 and originally developed by James Gosling at Sun Microsyatems.let's get strarted to know about what is java,where it is used, what type of applications use Java. Before going into java, keep an eye on what are the differences between C, C++ and java
C vs Java
- C is Procedural langauge(C breaks down into functions) where as java is Object-Oreinted language(Java break down into Objects).
- Java is a Interpreted language while c is a compiled language.
- Java is a high-level language while C is low-level language.
- Java uses bottom-up approach while C uses top-down approach.
In C, formulating the code is done by defining the whole and then splitting into smaller. In Java smaller elements combine to-gether to form the whole.
- Java supports Method Overloading while C does't.
- Java provieds garbage collection, that means memory is managed automatically on the otherhand C don't provide garbage collection.
- C supports concept of pointers but Java don't
- Java supports concept of Multiple Inheritance but C don't Support
C++ vs Java
- C++ is platform dependent while Java is platform-independent.
- C++ supports operator overloading but Java don't support.
- C++ uses compiler only but Java uses both compiler and interpretor.
- C++ Supports booth call by value and call by reference but Java supports only call by value.
- C++ does't support for built in threads but Java doe's support.
- C++ does't support documentation comment(/**.....*/) but Java supports to create documentation for source code.
- C++ supports virtual keyword but Java has no virtual keyword.
- C++ does't support unsigned right shift(>>>) but Java do supports unsigned right shift that fills zero at the top for negative numbers
5.High level language