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

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.
Profile Photo
Pritom
0 0
View Comments5
Who can provide good Java training with real-time but not institute?
If you reside in pune then i can provide real time programming in java . So you will get to know industry based java programming
Profile Photo
Sridevi
0 0
View Comments6
Which language has the best future prospects: Python, Java, or JavaScript?
According to me, "Python" is the programming language having the best future prospect considering the current industry trend. Reason: Python is extensively used in advanced technologies such as Machine...
Profile Photo
Atharva
0 0
View Comments5
What are the best websites to learn java as well as get a certificate from them?
Blindly go for oracle certification java program .
Profile Photo
Abirami
0 0
View Comments7
What is the general syllabus covered in core Java training from any institution?
Welcome Course Overview Review of Java Fundamentals The Java Environment Data Types The String Class The StringBuffer Class Arrays Passing Data Types to a Method Constructors &...
Profile Photo
Shiv Kohli
0 0
View Comments5

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

Ask a Question

Related Lessons

Constructor Overloading
public class ConstructorOverloading { public ConstructorOverloading(){ System.out.println("default"); } public ConstructorOverloading(String a){ System.out.println("a"); } public ConstructorOverloading(int...
S

Sarthak C.

0 0
View Comments0

ListIterator Example
public class ListIteratorEx { public static void main(String args) { List<String> li = new ArrayList<String>(); li.add("java1"); li.add("java2"); li.add("java3"); li.add("java4"); ListIterator...
S

Sarthak C.

0 0
View Comments0

JAVA - Object Cloning
JAVA - Object Cloning Is the way of creating the same copy of object without calling the class constructor. It means we can make any class object multiple times without calling its default constructor....
Profile Photo

COMPILATION AND INTERPRETATION
Compilation and Interpertation Process javac (compiler) java(interpreter)high level code - > compile - > bytecode - > interperted - > machine code Bytecode...
Profile Photo

Class, Object and Methods in JAVA
Lesson-1: Class, Object and Methods of Java can be compared with body, heart and brain. Without these 3 things, Java does not exist. If you Google the above 3 items, you will find many definitions. But...
Profile Photo

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