Know let's talk about Java, indeed what really it is..
Java if fully pure object oriented programming language because it is based on Classes and Objects. Java is a set of computer software's and specifications that was developed by "James Gosling" and his "Green Team" at Sun Microsystems in the early 90's. Which is now acquired by Oracle Corporation in 2010.
What is JAVA Programming all about : JavaSecret |
It is a Simple, productive, efficient language which has essence of C and C++ and connection for C#. It is designed for building robust, secure Desktop-based
applications, Web-based applications, Enterprise applications, Mobile-based applications.
Major Highlights of JAVA:
- It is "easy to Learn " language.
- It is based in WORA-"Write Once Run Anywhere".
- It is Platform Independent-i.e you just need the bytecode(.class file) and "jvm"(java virtual machine). we'll talk about this later.
- Java is compiled and interpreted both-compiler(javac) and interpreter(java).
- It is portable-means which is achieved by the bytecode(.class file) generated by java compiler.
- Enables the creation of cross-platform programs.
Features/Characteristics of Java:
2. Robust: Robust means Reliable. Java allows you to create highly robust programs. To gain Reliability Java provides few key areas - helps the user to find out errors early in the program. Java provides strong Type Checking i.e. checks the code at compile time. Java virtually manages memory allocation and deallocation(completely automatic due to automatic garbage collection provided by Java). It also provides Exception Handling.
3. Architectural Neutral: And also known as Platform Independent - means the goal is to follow WORA - "Write Once And Run Anywhere", anytime forever. Java is capable of running programs on any Operating System - Windows, Macintosh, Linux, Solaris. We just need to have Jvm(Java Virtual Machine). So the generated bytecode(.class file) by Java compiler can be run anywhere.
4. Interpreted and High Performance: The Java Interpreter(java) executes the translated bytecode directly onto the system that has Jvm(Java Virtual Machine).
Java bytecode was designed carefully so that it would be easy to translate it directly into the native machine code using a JIT(Just in Time Compiler) for providing high performance.
5. Java is Secure: Java provides high level of security to the users. One of the main reasons is that pointers are not a part of Java. There are many runtime constraints due to use of Java Virtual Machine. Java provides a suite of secure APIs(Application Programming Interface). Java platform provides a security
manager that allows users to run untrusted bytecode in a "sandboxed" environment to protect them from malicious or poorly written software.
0 comments:
Post a Comment