Why Java is an independent language platform? Explain briefly.

Asked by Last Modified  

Follow 3
Answer

Please enter your answer

Expert Selenium And Appium Tutor

Java was created by James Gosling. And today Java became next widely used language for application development because of its platform independant nature. What does platform independancy means? It means your code will work on any machine i.e. any combination of OS and processor.A few combinations that...
read more
Java was created by James Gosling. And today Javabecame next widely used language for application development because of its platform independant nature. What does platform independancy means? It means your code will work on any machine i.e. any combination of OS and processor.A few combinations that we see around are WinTel (Windows + Intel), LinTel (Linux + Intel), etc. Java has a module called 'JVM' (java Vertual Machine). That interprits and compiles the java source code into an object code that can be used by the residing platform. Hence the sourcefile is independant of the platform and object file is dependant on platform. The point to note here is that JVM is NOT platform independant. If you have written a few LOC on windows and shift it to Mac, the code will be compiled by JVM of Mac and will be executed. If you have LOC on Mac and port it to windows it will be compiled by JVM of windows. But if you port the object code from windows to Mac and vice-versa, code will not work. read less
Comments

Related Questions

What is the best site to learn Java for development?
www.javatpoint.com Is best site to learn and earn knowledge
Chai
0 0
8
I want to learn from beginning, please tell me what is the best source to learn (core java)
hi sunaini It is very good that you want to learn programming... I would recommend you c,c++,java and dotnet courses...for becoming a good provrammer.. we provide online training..at lowest prices if...
Sunaini
Is it possible to learn java at home without coaching in one month?
It all depends on you. If you are already aware of programming then it is definetly possible to learn java at home. But if learn through a tutor then you can learn easily.
Pritom
0 0
5
Is it really needed to do Java training before graduation, to get a job?
Yes, It's must to get better opportunities and to standard alone in IT field. Not only core Java but also learn Spring,Hinernat ,Struts. ANGULARJS add an advantage to get job easily.
Udaybhan
I am a fresher and I want to become a Java developer, so what is necessary to crack the Java interview ?
Hi Dipesh, understand that Java is a kind of ocean. It is vast. For interview preparation, you can brush up your Core Java Concepts and OOPs concepts and understand how JAVA works and learn the java features...
Dipesh

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons


Method Overloading vs Method Overriding
1. Method Overloading: Method overloading means a same method with same name can have different implementations/body by changing one of the follwing thing: 1) Number of Parameters 2) Order of Parameters 3)...

Thread Class In JAVA
Thread Class: Thread class is the main class on which Java's Multithreading system is based. Thread class, along with its companion interface Runnable will be used to create and run threads for utilizing...

Java8 Filters and collectors
Lets say we have collection of strings and we would like to filter (remove) out certain strings from collection. We could achive the same in java 7 and earlier versions import java.util.ArrayList; import...

Interview Tip : Q1) Why Strings are immutable in java ? What happen if it was mutable in java?
As we all know that Strings in java are immutabe in nature, now the question comes why the creator made it immutable in nature, although this field used maximum in any java program. The answer to this...

Recommended Articles

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you