English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

7 answers

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.

2007-08-14 04:00:24 · answer #1 · answered by McFate 7 · 2 1

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.

2007-08-14 03:52:27 · answer #2 · answered by Sachin 2 · 1 0

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.

2007-08-14 03:55:28 · answer #3 · answered by AnswerMan 2 · 1 0

Not at all. You can be an excellent Java programmer and not know any syntax for C++

2007-08-14 03:50:44 · answer #4 · answered by bat_m_a_n 2 · 1 0

Not at all, actually it will help you alot if you do this, not necessarily master, but atleast you should know the basics.
Cheers.

2007-08-14 03:54:22 · answer #5 · answered by SUEZ 1 · 0 0

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++.

2007-08-14 07:40:14 · answer #6 · answered by pekolovde 1 · 0 3

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..

2007-08-14 03:52:08 · answer #7 · answered by pipsqueak 2 · 1 0

fedest.com, questions and answers