1. Multiplatform
In most of programming languages, a program code have to be compiled and interpreted so can be run on a computer. Software used to compile the program code called compiler, while used for interpretation called interpreter.
Java implements the two processes above. This means that Java acts as compiler and also as interpreter. The concept is simple, first, program code written in Java (with .java extension) will be compiled (by compiler) into an object. In Java terminology, this object code is called as bytecode. So, in Java, the end result of program will be a bytecode (with .class extension), instead of the .exe file. Furthermore, the bytecode will be executed line by line (by interpreter). Thus, the compilation process is done only once, but interpretation process will be done every time the program is executed.
Bytecode can be reputed as a set of commands in machine language for a JVM (Java Virtual Machine). Every Java interpreter, whether development tool or a web browser, is implementation of JVM. Program created in Java can not run on a computer or other device that does not have a JVM.
With the bytecode concept, in Java terminology known the term "write once, run anywhere" (WORA). This means that once we write Java program and compile it, then its bytecode can be run in any platform as long as the platform has JVM. For example, the following image shows the same program but can be run on the Windows, Linux, and Mac platform.
2. Object Oriented
Java is Object-Oriented Programming (OOP). OOP modeling the real world into the object and the interaction between these objects. OOP aims to facilitate the program development by following the existing model in everyday life. So every part of the problem is an object, and object itself is a combination of several smaller objects again.
For example is a car. A car is an object. A car itself is made up of several smaller objects like machine, wires, bolts, wheels, brakes, etc. A car as an object formed from the smaller objects that interconnected, interact, communicate and send messages each others. So also with the program, a large object formed from smaller objects that communicate and interact with each others.
Java split the program into objects and modeling the properties and behavior of each in resolving a problem. All aspects contained in Java is object. It is easy for programmers to design, create, and develop a program in a fast, precise, easy and organized. This excess makes Java as a programming language that is easy to use, even for advanced functions such as communication between the computer though.
3. Complete Library
Java has complete library, that is a collection of programs that are included in Java, which greatly facilitate programmers to build applications. Completeness of these libraries coupled with the existence of a large community of Java that continuously create new libraries to cover all application development needs.
4. Multithreading
Multithreading is the ability of a computer program to work on some processes within a time simultaneously/concurrently. This means that, at the same time, we can run more than one process in a program.
For example, suppose we were using a word processor application. At the same time, we can do the formatting of text and once the process of printing the document. This can happen because text formatting process and printing document process are stored in separate thread. In a programming language that does not support multithreading, then both of the work should be done sequentially. That is, in this case, the process of printing the document can not be done before the text formatting process is complete. In other words, both can not be done simultaneously.
Thread in Java have the ability to take advantage of multi-processor if the operating system supports multiple processors.
5. Garbage Collection
Java has a garbage collector facility that works automatically to ensure the availability of memory to free up unused memory.
Many other programming language that allows a programmer to allocate memory at run time. However, after using the memory allocation, there must be a way to put back the memory block so that other programs can use them. In C, C++ and other languages, programmers are responsible for this. It can be difficult when the programmers forgot to return the memory block, causing a situation known as memory leaks.
Java programs do garbage collection which means that programmers do not need to remove their own objects that are not used anymore. This facility reduces the burden of memory management by programmers and reduce or eliminate sources of error that contained in a language that enables dynamic allocation.
6. Exception-Handling
The worst thing and avoided in programming is a bug (error) during the process execution in the program that we have created. In general, these errors are also called exception. According to the general definition, the exception is an abnormal condition that occurs at runtime.
In other programming languages that do not support exception-handling mechanism, errors that occur must be checked manually (usually through a specific error code). Such a way would have a weakness that is difficult in tracking process . To overcome this problem, Java provides an error-handling mechanism called exception-handling. Any errors will be formed into an object.
As a programmer, we have to be able to think of all possibilities of errors in the program and be able to handle it well.
Java has a powerful exception-handling mechanism. Exception-handling provides a way to separate the error handling section with normal code section that leads to the structure of the program code is cleaner and makes the application more rigid. When a serious error is found, the Java program creates exception. Exception can be captured and managed without the risk of making the system to be down.
Your information about Java is useful for me to know more technical information. Really very informative post you shared here. Keep sharing this type of informative blog. If anyone wants to become a Java professional learn Java Training in Bangalore. Nowadays Java has tons of job opportunities for all professionals...Big Data Hadoop Training in Bangalore | Data Science Training in Bangalore
ReplyDeleteThank you for posting the valuable information about the java Training.And every people easily understand about your posting, and I am learning a lot of things from your posting,Keep it up.java classes
ReplyDeletePsl Live Streaming
ReplyDeletePsl Points Table 2019
Psl Score Live 2019
Psl Live Tv
Thanks for the post.
ReplyDeleteinstitute of vedic astrology reviews
institute of vedic astrology reviews
institute of vedic astrology reviews
institute of vedic astrology reviews
institute of vedic astrology Indore reviews
institute of vedic astrology reviews
institute of vedic astrology reviews
institute of vedic astrology reviews
i just loved this blog /....just keep up putting informative texts like these.
ReplyDeleteI beyond question welcome the way wherein you keep posting such astonishing and significant articles and keep invigorating your blog with latest bearing. Keep up this goliath work. Continue forming.
ReplyDeletehttps://myseokhazana.com/
Thank you so much for the valuable info
ReplyDeleteHere am sharing some information about Best Training Institutes java training in hyderabad |java course in hyderabad | java institutes in hyderabad | software training institutes in hyderabad |selenium training in hyderabad | software training institutes in hyderabad with placements |python training in hyderabad | python course in hyderabad | python institutes in hyderabad
Thank you so much for the valuable info
ReplyDeleteHere am sharing some information about Best Training Institutes java training in hyderabad |java course in hyderabad | java institutes in hyderabad | software training institutes in hyderabad |selenium training in hyderabad | software training institutes in hyderabad with placements |python training in hyderabad | python course in hyderabad | python institutes in hyderabad
Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
ReplyDeleteMobile Repair Training in Delhi
Mobile Repairing Course Laxmi Nagar
APTRON Solutions with its start-of-workmanship class rooms and Lab infrastructure at Delhi offer the best and most conducive learning environment, with a team of highly skilled trainers having years of industry experience.
ReplyDeleteFor More Info: Java Training in Delhi
This is a good information.
ReplyDeleteI found an online educational platform LearningCaff, who help to find the best training institutes in your city with your interested course. If you have interested in Java course and looking for the best java training institute in Noida, you also can find there. To find the best training institute, visit Java training in Noida.
This comment has been removed by the author.
ReplyDeleteFree JAVA Course
ReplyDeleteRead Now
wesome article! You are providing us very valid information. This is worth reading. Keep sharing more such articles. Get All JAVA Tutorials In one place , Thank you very much! ❤❤❤
ReplyDeleteODASS SOFTWARE DEVELOPMENT, dedicated towards the developing the user-friendly and technically strong platform for the clients to use.We even have 10+ Softwares who are always intact with the services we provide.
ReplyDeletewebsite devolopment company in bhopal
Very informative post...
ReplyDeleteAbout - Java Features...
Java Development Company
Java Web Development Services
I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
ReplyDeleteLaptop Repairing Course In Delhi
Thank You for Sharing valuable information with us.
ReplyDeleteE-Commerce is the fastest-growing platform which is becoming more demandable day by day this is a tremendous form of the vibrant sector that is bringing several opportunities to the new generation to become more skilled and professional. Taking up this great advantage in the E-Commerce sector would need the right path and the right skillset you need to learn the latest technologies and high-demand skills such as building payment gateways and developing an accessible and easy website along with the basics of E-commerce that‘s why Aptech learning official Pro E-Commerce training program in Dwarka, Janakpuri, and Gurgaon which will help to make a successful career in this booming industry. Java Programming Course helps to become an expert in Java web application development. It helps you to bring efficiency in collecting and analyzing the data through Java programming in this course you will learn effective web UI/UX design and Secure web applications by using the advanced technologies of the Java program.
For more details please visit our website : Aptech Gurgaon
Thanks for the post.
ReplyDeletealso, check Linux classes in Pune