Friday, December 13, 2019

Java lesson-1



Java is a programming language used to create internet applications. It was created by sun micro system and now it is in the hands of Oracle Corporation.
From its invention c, c++ was very popular. At that time variety of electronic devices were invented. To write program for electronic devices each need a different compiler. Compiler was a costly one.so they needed a portable language which has needed same code for all electronic applications.
Second reason for java invention is invention of internet. C, C++ language were created before invention of internet. So they need a new language to code web applications. So java made suitable for creating web applications.
Oak is the first name of java language. After that it was renamed as java. Java is both compiled and interpreted language. First java program is compiled and class file is created. After that it interpreted by java virtual machine (JVM)   and run.

Java is an object oriented language. And also java is a modern language. It has the modern features such as exception handling, multi-threading and garbage collection.java garbage collector automatically release the memory used by objects.
There is no pointer concept in java. So we cannot access local memory of a system where java program was running.so malpractices such as hacking is not possible by java. So java is called as secured language. Before learn java install jdk and an ide (Netbeans or eclipse) in your System.
-continues

No comments:

Post a Comment