Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Why is Java a platform independent language?

  1. #1
    Junior Member
    Join Date
    Oct 2021
    Location
    San Francisco
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Why is Java a platform independent language?

    Why is Java a platform independent language?

  2. #2
    Member Helium c2's Avatar
    Join Date
    Nov 2023
    Location
    Kekaha, Kaua'i
    Posts
    117
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Default Re: Why is Java a platform independent language?

    I guess I can try to answer this and place my 0.02 cents in. To use Java programming it runs on Java platforms that has few have few implementation dependencies. Those programs that support Java. The java programming runs on Java platform and with other platforms without the need to recompile the class files. This Java being an independent platform language must interact with other programs that works with Java. It is independent because the language is a high level general purpose programming language. Much like the way Basic programming was in the early days of Microsoft Disk Operating System was used. Before Windows was developed and is built on C++ programs. Java platform has a basic purpose in mind. And works well with other platforms. UNIX, C++, Fortran. That's one reason or answer I can give.

  3. #3
    Junior Member
    Join Date
    Jan 2024
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Why is Java a platform independent language?

    Imagine you have a friend who speaks different languages. You want to tell them a story, but you don't know their language. So, instead of speaking directly to them, you write down your story in a special language that your friend understands. This special language is like Java bytecode. Then, you give your story to an interpreter who knows both your special language and your friend's language. This interpreter translates your story into a language your friend understands. In this analogy, your story is like the Java program, the special language is bytecode, and the interpreter is the Java Virtual Machine (JVM). Because of this process, Java programs can run on any device with a JVM, just like your story can be understood by your friend, no matter what language they speak. If you want to learn more about Java and its platform-independent nature, you can visit our website https://www.programminghomeworkhelp....va-assignment/

Similar Threads

  1. Why Java is platform independent?
    By Akshita Sharma in forum The Cafe
    Replies: 0
    Last Post: April 18th, 2020, 01:17 PM
  2. [SOLVED] Difference Between The Terms 'Architecture Neutral'l and 'Platform Independent'
    By Bhujang in forum Java Theory & Questions
    Replies: 4
    Last Post: August 12th, 2014, 02:21 PM
  3. Java platform independent? Looks like a myth.
    By ask in forum Java Theory & Questions
    Replies: 16
    Last Post: August 11th, 2012, 05:58 PM
  4. Why java is platform independent(Video)
    By jessie143143 in forum The Cafe
    Replies: 5
    Last Post: April 28th, 2012, 01:59 AM
  5. run java class file from independent of OS
    By starsoheil in forum Java Theory & Questions
    Replies: 6
    Last Post: March 16th, 2010, 08:05 AM

Tags for this Thread