General Introduction to Java
JAVA was created by Sun Microsystems Inc in 1991, later gained by Oracle Corporation. It was brought about by James Gosling and Patrick Naughton. It is a straightforward programming language. Composing, incorporating and troubleshooting a program is simple in java. It makes measured programs and reusable code.
Fundamental Features of JAVA
Java is a stage free language
To comprehend the importance of stage autonomous, we should need to comprehend the significance of stage first. A stage is a prior domain in which a program runs, complying with its imperatives, and making utilization of its offices.
Let’s back to the point. Amid compilation, the compiler changes over java program to its byte code. This byte code can keep running on any stage, for example, Windows, Linux, Mac/OS and so forth. Which implies a program that is accumulated on windows can keep running on Linux and the other way around. This is the reason java is known as stage free language.
Java is an Object Oriented language
Object oriented programming is a method for sorting out programs as gathering of objects, each of which speaks to an occurrence of a class.
4 primary ideas of Object Oriented programming are:
Java is considered as one of straightforward language since it doesn’t have complex features like Operator over-burdening, Multiple legacy, pointers and Explicit memory allotment.
Two primary issues that cause program disappointments are memory administration botches and misused runtime mistakes. Java handles them two proficiently.
1) Memory administration slip-ups can be overcome by trash accumulation. Rubbish accumulation is programmed de-assignment of objects which are did not require anymore.
2) Mishandled runtime blunders are settled by Exception Handling techniques.
It gives a virtual firewall between the application and the PC. Java codes are limited to Java Runtime Environment (JRE) in this manner it doesn’t give unapproved access on the framework assets.
Java is distributed
Utilizing java programming language we can make distributed applications. RMI(Remote Method Invocation) and EJB(Enterprise Java Beans) are utilized for making distributed applications as a part of java. In basic words: The java programs can be distributed on more than one frameworks that are associated with each other utilizing web association. Objects on one JVM (java virtual machine) can execute techniques on a remote JVM.
As talked about above, java code that is composed on one machine can keep running on another machine. The stage autonomous byte code can be conveyed to any stage for execution that makes java code versatile.