![]() |
Which is better and why ? I've been told that if you want to be a better programmer c++ or JAVA. Now I'm not able to decide which one to start ! As I don't know which is better. So, anyone can help me in this regard ? |
Re: Which is better and why ? HI, Both languages have there merits and demerits.In my opinion c++ is the best option because i think all programmers should know the working knowledge of c++.But also java is important so in my opinion the good programmer should have a command over at least two language |
Re: Which is better and why ? both are very important...but if I were you, I'd go for java. |
Re: Which is better and why ? I think java has broader support than c++ Go with Java. |
Re: Which is better and why ? This will be a long response :) Java was derived from C++ Java and C++ syntax is very similar. For instance a stack interface in Java may look like this. public interface Stack { public void Push(Object o); public Object Pop(); }; And C++ class Stack { public: virtual void Push(Object&) = 0; virtual Object& Pop() = 0; }; Either language will help you if you wanted to understand the other. Java will be easier to learn. Google did a benchmark recently and showed that C++ was faster than Java by "a large margin" if you like reading :) So... If I were to learn one language I think you can't go wrong with either but Java will be easier and C++ will give you a broader basis for programming. My 2 Cents, Fred |
Re: Which is better and why ? C++ Not only it teaches you the very essential to programming. The applications, classes, library, or whatever coded on C++ is fast. For it is near the Kernel of the OS, meaning, it has only need to pass a single interpretation of code to be executed. Unlike Java that it needs a Virtual Machine to be executed. Java (high-level) ----------------- C++ (mid-level) ----------------- Kernel or Assembly (low-level) During my early days of learning programming, C++ has no good IDE (I used Borland C++), unlike Java (I used Netbeans and Eclipse). But now, you've got many choices (Visual C++, Eclipse CDT, etc) thus, coding will be more easy. One thing, C++ is not dead as many may think. C++ will have an update one of these days :) |
Re: Which is better and why ? Hope both are good if im wrong correct me |
Re: Which is better and why ? Both are best. Both have their importance |
Re: Which is better and why ? Both are good they just differ from eachother. It just depends on what you want to get done. One thing to keep in mind that andrewjustice03 already said is that Java is a High-Level programming language and C++ a Mid-Level. The Mid-Level of C++ means that you are closer to the actual PC and thus have more control over the memory used. This makes programs that are (correctly) written in C++ a lot faster. The drawback of this is that C++ is way more code-intensive. Writing a program in C++ will take up way more time than writing a program in Java. These days most computers don't need an optimized application to run smoothly as they are strong enough to run it anyway. Hope this helped a little, Iden |
Re: Which is better and why ? Quote:
Java and C++ are fundamentally different. C++ is used for writing programs you compile into native binaries that run on a set platform. Java does not create truly 'compiled code' but creates byte-code instead, and runs it on a byte-code interpreter, which is another software program. With C++ there is no intermediary. This is why the same compiled Java can run without modification on Linux, Windows and Mac. I'm not sure how you really expect anyone to help you on your decision here. If you don't understand how Java and C++ are so different, and know which one you plan on using, you should start with something simpler. Just my 2c |
Re: Which is better and why ? Got it.. C++ is relatively low level to JAVA. Can anyone tell me the merits of c++ over JAVA and vice-versa ? on the basis of which will run faster, efficient, etc.. |
Re: Which is better and why ? Java and C++ are both object oriented programming languages. Software applications are developed using these applications. Applications based on E-commerce are developed using Java language while C++ language is used towards development of system software ;) |
Re: Which is better and why ? Both are good, but i can say that Java is better one :) Goodluck :) |
Re: Which is better and why ? Hi, Start directly Wordpress , then you will learn php,jquery,xhtml and css. No alternative to WordPress can be found in the universe. We love it. |
Re: Which is better and why ? If you're doing web development or cross-platform programming, go with Java. If you are doing a platform-specific application, C++ all the way. |
Re: Which is better and why ? I would suggest to learn both language, you can use them for different projects and purposes. |
Re: Which is better and why ? Quote:
|
Re: Which is better and why ? Java. Anything you write will run on windows, mac and linux. |
Re: Which is better and why ? Java all the way man! Good luck. |
Re: Which is better and why ? Quote:
I don't want the web designing languages.. :). As I'm searching for programming languages so that I can develop something after I understand it thoroughly ! |
Re: Which is better and why ? C++ will let you get to the meat of things, and as mentioned, once you learn what "programming" is, all of the other "languages" will come easily. |
Re: Which is better and why ? What programs are you trying to make with these languages? If you are learning a language I would really recommend starting with PHP since you can find a lot of resources/help online and may find it easier to code than Java or C++. You can still apply what you learn from PHP to those languages later on. |
Re: Which is better and why ? Java is Better Its is Multi threaded programming Language |
Re: Which is better and why ? I'm going to say that both are important, but if you are looking towards web programming, then Java is what you want. |
Re: Which is better and why ? Both are important & good also, I guess! |
Re: Which is better and why ? Both Java and C++ are good..
|
Re: Which is better and why ? Neither is better they both have some advantages but neither its really better... I would learn Java first then c++ |
Re: Which is better and why ? i think java is better compare to others |
Re: Which is better and why ? Java is better. But most of the concept of java are drew from C++. Java is platform and machine independent, it runs regardless of what OS you are working with. Go with Java. |
| All times are GMT -6. The time now is 07:30 AM. |