answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Shannon-Fano code implemented in c plus plus or java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is platform independent feature means java can be run on windows XP and windows 7 but c or c plus plus does not?

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.


Does Visual Java plus plus and Java Builder is different from the Java language?

Yes!Visual Java plus plus and Java Builder is different from the Java language?


What is advantage of csharp over c plus plus?

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.


Both Java and C plus plus compile source code to object code yet Java is called an interpreted language while C plus plus is called a compiled language explain this notion?

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.


Is Java or C plus plus faster?

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.

Related questions

Is platform independent feature means java can be run on windows XP and windows 7 but c or c plus plus does not?

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.


Does Visual Java plus plus and Java Builder is different from the Java language?

Yes!Visual Java plus plus and Java Builder is different from the Java language?


What is advantage of csharp over c plus plus?

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.


Both Java and C plus plus compile source code to object code yet Java is called an interpreted language while C plus plus is called a compiled language explain this notion?

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.


Is Java or C plus plus faster?

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.


Which language is faster java or c plus plus?

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.


Bus ticket booking plus java source code?

i need coding for bus booking


Which is more popular c plus plus or java?

Java


When you added 012345 plus 543210 in java it gave you 544559 why?

This is likely an error in your code, post it so we can help


What is a program that translates a high level language like C plus plus to machine language?

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.


How Java and C plus plus are similar?

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.


Which is easier 'C plus plus' or 'Java'?

Java is considerably easier than C++.