i want to master either java or c++ which one is more powerful.
Does any language there more powerful than both of them.
In addition, how do we execute java application after we compile it , it changes into .class extension unlike c++ .exe file can be called directley , can we execute is with out the java software run button ?
please any can give me a clue to these question or a good link.
Which programming language is more powerful for software development c++ or java?
1.Mastering a language depends on what kind of job or development work you are targeting.
2.Each programming language has certain advantages and disadvantages of its own. And the choice depends on the application requirements. For eg. Java is heavily used for the internet and mobile devices. Whereas C++ is an enhancement of the C language which is the most popular and the oldest programming language. It is also used for Systems programming.
So we cannot say that Language A is more powerful than Language B.
3. You must be compiling the java program from the command prompt using the following command.
%26gt;javac MyProgram.java
This will create a .class file which contains the byte-code for your program. It is for the operating system and not for us. If you try to view it or execute it, it won't.
The actual file can be executed by the following command
%26gt;java MyProgram
Note that it is not 'javac', but 'java' and there is no .java after MyProgram.
This should solve your problem.
Reply:i dont know how to program C++ i just know it is much more complicated and better than java
Reply:Depends on your application - what are you trying to do?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment