Thursday, 23 January 2014

Why Java is platform-independent ?

There is mail reason java is platform independent that java generates byte code so you can also tell that java is secure because it generates byte code.

What is Byte Code.


Byte code is small class file it will automatically gangrenes by jvm(java virtual machine) compiler while you compile your program and that file extension will be .class.

Another benefit is that byte code is platform independent code so your program can run in any machine by using same byte code And Because of byte code java is secure.




What is JVM(Java Virtual Machine) ?

JVM is an interpreter for Bytecode.
The details of the JVM will differ from platform to platform, but all interpret the same Java Bytecode according to machine/platform.

The Bytecode which are generated by the compiler will be tested by the JVM on the execution of the program or we can say every Java Program is under the control of the JVM which checks the code on the runtime many times for viruses and any malicious.


The Bytecode generated by the compiler are also supported on any machine which has the JVM which makes Java a platform independent language.


Related Posts:

  • SEM Training Web search tool MARKETING TRAINING PPC CAMPAIGNS  Google Adwords, Yahoo Internet Marketing, MSN Adcenter, MIVA, Enhance, Goclick, Clicksor, ISEDN PPC Camapaign Creation & Management Training:   PPC, CTR, … Read More
  • SEO Tricks That Will Work in 2014 The unannounced and surprising landing of Google calculations from time to time makes the SEO planet go into a tiff.  The year 2013 shook the universe of web advertisers with the launch of Hummingbird and extempo… Read More
  • Java Tutorial - What Is Object Oriented Programming in Java? Java is termed an Object Oriented dialect. Along these lines, precisely what does Object Oriented demonstrate? It implies that the establishments of basically any PC program inherent Java might possibly be envisioned regard… Read More
  • DotNetFrameWork .Net Framework is a stage or advancement environment to flawlessly make web-provisions that are open through customer machines from over the globe. These web-requisitions receive open models, for example, extensible Markup … Read More
  • Sorts of Services Offered by Alpha training center Providers Asp.net includes the blending of Active Server Pages and the .Net system furnishing one of the least demanding approaches to fabricate element web requisitions. It has endless versatile characteristics and is truly rearrang… Read More

0 comments: