Features of JAVA | Compile and Run

Let’s about Features of JAVA

Features of JAVA:

Robust

The multi platformed environment of the Web places extraordinary demands on a program because the program must execute reliably in a variety of systems. Thus, the ability to create robust programs was given a high priority in the design of Java. To gain reliability, Java restricts you in a few key areas to force you to find your mistakes early in program development. At the same time, Java frees you from having to worry about many of the most common causes of programming errors. Because Java is a strictly typed language, it checks your code at compile time. However, it also checks your code at run time. Many hard-to-track-down bugs that often turn up in hard-to-reproduce run-time situations are simply impossible to create in Java. Knowing that what you have written will behave in a predictable way under diverse conditions is a key feature of Java. To better understand how Java is robust, consider two of the main reasons for program failure: memory management mistakes and mishandled exceptional conditions (that is, run-time errors). Memory management can be a difficult, tedious task in traditional programming environments. For example, in C/C++, the programmer will often manually allocate and free all dynamic memory. This sometimes leads to problems, because programmers will either forget to free memory that has been previously allocated or,  worse, tries to free some memory that another part of their code is still using. Java virtually eliminates these problems by managing memory allocation and deallocation for you. (In fact, deallocation is completely automatic, because Java provides garbage collection for unused objects.) Exceptional conditions in traditional environments often arise in situations such as division by zero or “file not found,” and they must be managed with clumsy and hard-to-read constructs. Java helps in this area by providing object-oriented exception handling. In a well-written Java program, all run-time errors can—and should—be managed by your program.

Security

As you are likely aware, every time you download a “normal” program, you are taking a risk, because the code you are downloading might contain a virus, Trojan horse, or other harmful code. At the core of the problem is the fact that malicious code can cause its damage because it has gained unauthorized access to system resources. For example, a virus program might gather private information, such as credit card numbers, bank account balances, and passwords, by searching the contents of your computer’s local file system. In order for Java to enable applets to be downloaded and executed on the client computer safely, it was necessary to prevent an applet from launching such an attack. Java achieved this protection by confining an applet to the Java execution environment and not allowing it access to other parts of the computer. (You will see how this is accomplished shortly.) The ability to download applets with confidence that no harm will be done and that no security will be breached may have been the single most innovative aspect of Java.

Portability

Portability is a major aspect of the Internet because there are many different types of computers and operating systems connected to it. If a Java program were to be run on virtually any computer connected to the Internet, there needed to be some way to enable that program to execute on different systems. For example, in the case of an applet, the same applet must be able to be downloaded and executed by the wide variety of CPUs, operating systems, and browsers connected to the Internet. It is not practical to have different versions of the applet for different computers. The same code must work on all computers. Therefore, some means of generating portable executable code was needed. As you will soon see, the same mechanism that helps ensure security also helps create portability

Multithreaded

Java was designed to meet the real-world requirement of creating interactive, networked programs. To accomplish this, Java supports multithreaded programming, which allows you to write programs that do many things simultaneously. The Java run-time system comes with an elegant yet sophisticated solution for multiprocess synchronization that enables you to construct smoothly running interactive systems. Java’s easy-to-use approach to multithreading allows you to think about the specific behavior of your program, not the multitasking subsystem.

  • Compile and Run

Features of JAVA

 

 

I hope guys like and comment on these posts Features of JAVA.

Read more…

Share

26 thoughts on “Features of JAVA | Compile and Run

  1. Leading Online Pharmacy – Contact us at +1 (917) 259-3352 for unbelievable rates, discount and offers on any medicine. Get it delivered free of cost at your door steps, call us today. Phone : +1 (917) 259-3352

  2. Oh my goodness! Impressive article dude! Thank you so much, However I am encountering troubles with your RSS. I don’t understand why I cannot join it. Is there anyone else getting identical RSS issues? Anybody who knows the solution will you kindly respond? Thanx!!

  3. I am the proprietor of JustCBD Store label (justcbdstore.com) and I’m presently seeking to develop my wholesale side of company. I am hoping someone at targetdomain can help me 🙂 I thought that the most ideal way to do this would be to connect to vape shops and cbd stores. I was hoping if anyone could recommend a trustworthy site where I can buy CBD Shops B2B Marketing List I am currently taking a look at creativebeartech.com, theeliquidboutique.co.uk and wowitloveithaveit.com. On the fence which one would be the best selection and would appreciate any guidance on this. Or would it be easier for me to scrape my own leads? Suggestions?

  4. Having read this I believed it was very informative. I appreciate you taking the time and effort to put this information together. I once again find myself personally spending a significant amount of time both reading and commenting. But so what, it was still worth it!

  5. Can I just say what a relief to discover somebody that truly understands what they are discussing online. You actually realize how to bring a problem to light and make it important. More people should look at this and understand this side of the story. I was surprised that you aren’t more popular since you surely possess the gift.

  6. Good blog you have got here.. It’s hard to find good quality writing like yours these days. I really appreciate individuals like you! Take care!!

  7. I’m the proprietor of JustCBD label (justcbdstore.com) and I am currently looking to grow my wholesale side of business. I am hoping someone at targetdomain is able to provide some guidance ! I thought that the most ideal way to accomplish this would be to connect to vape stores and cbd retail stores. I was really hoping if someone could suggest a trustworthy web-site where I can get Vape Shop B2B Sales Leads I am already considering creativebeartech.com, theeliquidboutique.co.uk and wowitloveithaveit.com. Not sure which one would be the best selection and would appreciate any assistance on this. Or would it be much simpler for me to scrape my own leads? Suggestions?

  8. After looking into a handful of the blog articles on your blog, I really like your technique of blogging. I added it to my bookmark webpage list and will be checking back soon. Take a look at my website too and let me know your opinion.

  9. Hi, I think your web site may be having internet browser compatibility issues. When I look at your site in Safari, it looks fine however, if opening in I.E., it has some overlapping issues. I simply wanted to provide you with a quick heads up! Aside from that, excellent site!

  10. After checking out a few of the blog articles on your web page, I honestly like your way of writing a blog. I book-marked it to my bookmark webpage list and will be checking back in the near future. Please check out my website too and let me know your opinion.

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!