Thread: Why Java platform is considered to be an independent language but C, C++ isnt? Reply to Thread

Your Username: Click here to log in
Title:
  
Message:
Post Icons
You may choose an icon for your message from the following list:
 

Additional Options

Miscellaneous Options

Topic Review (Newest First)

3rd September 2011 09:07 PM
goutam1222
Re: Why Java platform is considered to be an independent language but C, C++ isnt?

"Java is platform independent language" only and only because java compiler that is your JDK, creates a class file(*.class) that is supposed to run on any JVM(java virtual machine) installed PC or laptop. after compiling the code java creates a intermediate code called java byte code which is "platform independent" in respect that the target machine should have installed JVM.
c and c++ lag behind in the feature of this byte code concept.
3rd September 2011 05:37 PM
manoj rajpurohit
Re: Why Java platform is considered to be an independent language but C, C++ isnt?

Java is highly portable language because whenever a programmer compile his source code then a .class file is generated (.class means that class in which the main function is declared).
this .class file is known as Byte code. this byte code is portable and can be rum on any platform like Linux and any operating system.
This all lines indicates that java is a platform independent language.
bur this characteristic is not found in the c or c++ language. these are platform dependent language.
3rd September 2011 03:03 PM
belide
Re: Why Java platform is considered to be an independent language but C, C++ isnt?

Jva is considered as platform independent as it can be executed in other system though you implemented the code in other system...
where as c and c++ doesnot have such facility..
they are not from sun microsystems such as java..
so they are lack of facilities.
31st August 2011 12:34 PM
balafederer
Re: Why Java platform is considered to be an independent language but C, C++ isnt?

Hello,

Yes, java platform is considered to be an independent language.

* THe concept of write once run program anywhere in java. It is one of the important key features of java language that makes java as the most powerful language. The programs written once platform can run on any platform provided the platform must have the JVM.
* But, C,C++ and does not support this platform independent. Hence java is a platform independent language

Best wishes
25th August 2011 11:59 AM
ANIAAAAANNNNNIIIII00000
Re: Why Java platform is considered to be an independent language but C, C++ isnt?

Dear friend,
first of all you need to know what is platform , platform is where you are running your program or you can say java , for example the operating system is a platform. In case of java it doe's not matter where you have build the program and where are you running it , you can run it on xp, vista, or any other device like mobile etc, but in case of C and C++ it is not possible.
I think you understand the difference .
25th August 2011 01:56 AM
NEIL6
Re: Why Java platform is considered to be an independent language but C, C++ isnt?

Java is from sun micro system. It has many features similar to c++ but doesnt include any feature of c++ like pointers. It is platform independent language.

C++ includes OOP technology and it has all the advantage of C language. It is hypbrid platform dependent language.
24th August 2011 10:36 PM
amaan khan ak
Re: Why Java platform is considered to be an independent language but C, C++ isnt?

Quote:
Originally Posted by sasmita aich View Post
why java is platform independent language but c,c++ are not platform independent language???
Java is a platform independent language thats why its very useful language now a days for web application.
Java is a platform independent language and a poratable language so that the executable code(byte code) can be used on other operating system.
C and C++ language dont have the property of platform independent thats why java language is so much useful now in market in the place of c and c++ language.
Java byte code can be used in other operating system,processor,system thats why java called platform independent language.

I think you get your answer.
24th August 2011 09:07 AM
tanmayeetripathy
Re: Why Java platform is considered to be an independent language but C, C++ isnt?

-java over other language is highly portable.

-java programs can be easily moved from one computer system to

another,anywhere and anytime..any changes in operating system

,processors and system resources will not make any changes in java

programs.this is the reason why java has become a popular language for

programming on internet which interconects different systems

worldwide.since the size of the primitive data types are machine

independent that's why java ensures portability..

I hope it would be a satifactory answer to your question
22nd August 2011 09:19 PM
sasmita aich
Why Java platform is considered to be an independent language but C, C++ isnt?

why java is platform independent language but c,c++ are not platform independent language???

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBulletin Optimisation by vB Optimise.