Want this question answered?
No. The term platform independence in Java does not mean that any other programming language cannot be run in multiple OS platforms. Actually platform independence means that the java code can be run in multiple platforms with little or no customization. The code that can execute in a Windows platform can run as it is in a Linux box, whereas other programming languages need to be customized based on the platform they will be implemented in.
Yes!Visual Java plus plus and Java Builder is different from the Java language?
C# is 100% object-oriented whereas C++ is not; C++ supports the concept of primitive variables which are not implemented as objects, and therefore allows managed and unmanaged code to interoperate. C# is not unlike Java in many respects; the source code compiles to byte code rather than machine code. However it employs a syntax that is familiar to C++ coders. However, unlike Java, C# is not cross-platform and is intended for Windows .NET development only.
It can easily be explained by the fact that Java does not compile to object code. Java compiles to byte code that is suitable for interpretation by the Java virtual machine. C++ compiles to native machine code and therefore does not require interpretation of any kind. As a result, C++ programs run somewhat quicker than equivalent Java programs. However, because Java is interpreted, it is highly portable. Any machine with a Java virtual machine implementation (which is pretty much every device today) can run Java programs built from a single compilation. C++ requires that the code be written specifically for each platform and that the source be compiled separately upon each supported platform.
Java is considerably more convenient than either C or C++ due to its extremely high level of abstraction. However, that convenience comes at the cost of both performance and efficiency.
No. The term platform independence in Java does not mean that any other programming language cannot be run in multiple OS platforms. Actually platform independence means that the java code can be run in multiple platforms with little or no customization. The code that can execute in a Windows platform can run as it is in a Linux box, whereas other programming languages need to be customized based on the platform they will be implemented in.
Yes!Visual Java plus plus and Java Builder is different from the Java language?
C# is 100% object-oriented whereas C++ is not; C++ supports the concept of primitive variables which are not implemented as objects, and therefore allows managed and unmanaged code to interoperate. C# is not unlike Java in many respects; the source code compiles to byte code rather than machine code. However it employs a syntax that is familiar to C++ coders. However, unlike Java, C# is not cross-platform and is intended for Windows .NET development only.
It can easily be explained by the fact that Java does not compile to object code. Java compiles to byte code that is suitable for interpretation by the Java virtual machine. C++ compiles to native machine code and therefore does not require interpretation of any kind. As a result, C++ programs run somewhat quicker than equivalent Java programs. However, because Java is interpreted, it is highly portable. Any machine with a Java virtual machine implementation (which is pretty much every device today) can run Java programs built from a single compilation. C++ requires that the code be written specifically for each platform and that the source be compiled separately upon each supported platform.
Java is considerably more convenient than either C or C++ due to its extremely high level of abstraction. However, that convenience comes at the cost of both performance and efficiency.
C++ compiles to native machine code whereas Java compiles to byte code which must run within the Java Virtual Machine. The extra layer of abstraction means that, comparing like for like, a C++ program will easily outperform its Java equivalent. Thus C++ is easily the faster of the two.
i need coding for bus booking
Java
This is likely an error in your code, post it so we can help
A compiler. We can also use an interpreter to translate high-level code as it is executed, however in order to create a stand-alone executable we must use a compiler. A compiler is simply a program that translates high-level code to a lower-level code (but not necessarily machine code). For instance, the Java compiler emits Java byte code which is suitable for interpretation by the Java virtual machine.
Java and C++ are similar because Java is based upon C++ insofar as they both have a very similar language and syntax. The similarity ends there, however. Java has a much simpler object model and is highly abstract, and therefore provides no low-level architecture routines. Code is compiled as byte code suitable for the Java virtual machine which, although highly-portable, adds an extra layer of abstraction that you don't get with C++, which compiles to native machine code with virtually unrestricted access to the low-level architecture and its features.
Java is considerably easier than C++.