There are many differences between Java and other programs, as there are also similarities: - managed code: java does not produce native code, but some byte code that will make it runnable in something called "virtual machine". The best thing about that: compile on windows and deploy that application on UNIX. - full object oriented -- even more than C++ where global variables are possible. Here, in java, everything must take place in an object - works on many operating systems. - a lot of technologies grouped in J2EE, that covers many the aspects of enterprise programming - servlets, jsp, ejb, jdbc to access the database, etc. The list is huge, I don't want to get in too much detail about that.
I guess it features some of the most mature technologies on the market.
Answer to: which programming language is more robust C sharp or Java?While I generally prefer "C" as a more robust language, I also consider anything that is released by Microsoft to be unreliable and likely to fail. Java is the product of Sun Microsystems, and has a very good reputation. While I'm not a Java programmer, I have heard nothing but good reports about Java. Answer to: why is Java more secure than other languagesJava is considered more secure than other languages for several reasons:1)Java is a purely Platform independent means the application that will work in any kind of Operating System.But .Net is platform independt software.
2).Net support to develop application in different languages and to develop application Rapidly. This feature is not exist in Java
Answer to why is Java more popular than CA long time ago, many people believed Java was slower than C because Java had to run through a virtual machine. Today however, Time and speed aren't really affected by the programming language or the used technology as much as affected by memory cards capacity and processors speed (Clock rate). Hench programmers and developers started looking for the most powerful yet easy to 'learn and work with' programming language. And there came Java with the multi-platform support, Object oriented methodology and other great capabilities and features.On the other hand, General Purpose applications are still developed using C++ because it doesn't need any intermediate software to run.
and i think that java it's been improved everyday by the newest releases of the implementation of the virtual machine.
The advantages of the Java programming language are:
1. Write once, run anywhere 2. Security 3. Dynamic & Extensible programming 4. Internationalization 5. Performance 6. Programmer Efficiency
Java is object oriented like C++ but this programming language is not
platform dependent. It is platform independent. This is because it generates
byte code when you run your program not the exe file thats why it is platform
independent.
Barun kumar
email me @:-- barungg@gmail.com
The Java platform differs from most other platforms in that it's a software-only platform that runs on top of other hardware-based platforms. The Java platform has two components: 1. The Java Virtual Machine (Java VM) 2. The Java Application Programming Interface (Java API)
Java is loosely based on C++ but has a much simpler object model. Java programs also run in a virtual machine which allow them to run on any platform that supports the virtual machine. The downside is that Java programs are many times slower than an equivalent C++ program would be. However, non-trivial C++ programs are not cross-platform compliant and must be compiled separately for each platform, which either requires a major re-write of the code or extensive use of preprocessor directives.
C, and C++, are compiled into "binaries" which target a specific operating system and CPU architecture. This means that those programs can not directly run on multiple operating systems. Windows programs will not run on Linux, nor will Linux programs run on Windows. The ability to run these programs on multiple operating systems is achieved through emulation or cross-compilation. It is usually said that such programs will run at least marginally faster than Java when running on their native platform, and will probably perform slower than Java when running through an emulation.
Java, in comparison, is compiled into "bytecode", which is then compiled by a Virtual Machine to provide the best performance. Java uses just one binary that will run on all platforms that support that version of Java, albeit it will run marginally slower than C or C++, and will likely not have the same "look and feel" as the rest of the operating system. The advantage, however, is that no special care must be taken to write a program that runs equally well in Windows and Linux (and Mac, etc), so long as the developers stay away from a few system-dependent features (usually code that is called "native"). Even using "native" code will still allow developers to write a core that runs the majority of logic in the Virtual Machine, and then use native code to access special system features.
In summary, Java runs on a number of platforms with a single compiled binary, while C++ requires a different compilation for each platform it is to run on.
The key reasons why Java is preferred to other programming languages are: 1. Write once, run anywhere 2. Security 3. Dynamic & Extensible programming 4. Internationalization 5. Performance 6. Programmer Efficiency
Java provide us magical bytes code and independence plate form.
Java is an object-oriented programming (OOP) language, which basically means that you can do more with it than you can do with a language that is not object-oriented.
Yes!Visual Java plus plus and Java Builder is different from the Java language?
No. Java takes some ideas from C++, so there are certain similarities, especially in the basic syntax. But it is a different language.
Java is the complete object oriented Programming Language as every thing in java is an object,
C is a procedure oriented language ,Where C++ & java are object oriented language.But java is platform independent.So generally C is called POP.C++ is called OOP.But java is OOP , which is platform independent.If java does not support primitive data type then it is called as pure object oriented language.
As we know that java is a plateform independent language and the main advantage of java is that it can support to any operating system and can be executed to any machines without any modifications.Due to the use of class in java it has become more easier to understand the program compared to c plus plus.Hence,java is portable than c plus plus
Yes!Visual Java plus plus and Java Builder is different from the Java language?
No. Java takes some ideas from C++, so there are certain similarities, especially in the basic syntax. But it is a different language.
Java is the complete object oriented Programming Language as every thing in java is an object,
Every languages are different, a C++ compiler cannot compile a Java source.
If I understand your question, they are similar because one language came from the other.
java is an advanced object oriented programming language than c++
No. You can learn Java first if you want. However, from a language perspective, C++ and Java are nearly identical1, and C is the predecessor of C++, so some people feel that the proper sequence is C, then C++, then Java. It is entirely up to you. ----------------------------------------------------------------------------- 1Nearly identical, that is, from a language perspective only. The environment and libraries are vastly different between C++ and Java.
There is no such thing. An "assembler" is a program that converts assembly language code, into machine language. Other programming languages have a "compiler", which is more or less equivalent.
Object Oreinted Programming
Eclipse is a development platform, usually used to develop Java, but it can be used to develop C++. C++, on the other hand, is a language, not a platform. As a result, the two cannot be compared correctly. Please restate the question.
C is a procedure oriented language ,Where C++ & java are object oriented language.But java is platform independent.So generally C is called POP.C++ is called OOP.But java is OOP , which is platform independent.If java does not support primitive data type then it is called as pure object oriented language.
As we know that java is a plateform independent language and the main advantage of java is that it can support to any operating system and can be executed to any machines without any modifications.Due to the use of class in java it has become more easier to understand the program compared to c plus plus.Hence,java is portable than c plus plus