Sunday, July 12, 2009

Do I need to master c++ to become a Java Programmer or not necessarily?

Both derive basic language syntax from C, but are very different beyond that. C++ requires the coder to do memory management, Java handles it. Java uses pointers internally but hides them from the user, C++ code makes heavy use of pointers.





Without getting into religious wars about which language is "better": if you want a C++ career, learn C++; if you want Java, learn Java directly.





Learning C++ will help you understand what goes on behind the scenes in Java, to an extent, and some of the language syntax is common between the two... but the benefit does not really justify the cost of learning the other language if you aren't going to use it.

Do I need to master c++ to become a Java Programmer or not necessarily?
Not at all, actually it will help you alot if you do this, not necessarily master, but atleast you should know the basics.


Cheers.
Reply:it may help but not necessarily.. but being a master in c++ will serve as a training ground in improving your programming skills and your logic..
Reply:Not at all. You can be an excellent Java programmer and not know any syntax for C++
Reply:Better become master in c++ than java.


C++ is much better and faster than java is.


Programmers avoid it because it very complex language


but it offers a lot and that's why it is complex.


So if you are planning to program web applets then use java


otherwise c++.
Reply:Java language is not totally based on C++.


It has only some part like C++.


The basic part like loops, conditions etc are same.


but still there are much differences in C++ and Java.


So you should have the knowledge of C++, if your are not master in C++ then also you can become master in Java.
Reply:No. In fact, if you're really into the object functionality of C++, you may find some perceived "limitations" of Java to be confusing and/or annoying. Java's just a little more strict about things (i.e. no multiple inheritance, etc).





Either way, once you know one, learning the other will be 2 to 3 times easier as they are very similar syntax-wise.





In my opinion, most of what constitutes "learning" these types of languages refers to becoming familiar with the available object libraries and how to use them.


No comments:

Post a Comment