Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Java prerequisites

Posted on 1997-12-17
1
Medium Priority
?
743 Views
Last Modified: 2010-05-18
How much C++ should a person know in order to learn Java comfortably?

--- C
0
Comment
Question by:clara
1 Comment
 
LVL 16

Accepted Solution

by:
imladris earned 200 total points
ID: 1231693
The syntax of Java is very closely related to C and C++. So the more familiar one is with C or C++ the easier that aspect will be. Unlike those, Java is much more strongly geared towards Object Orientation. Where in C and C++ you can write procedural programs as before, in Java this is more tedious. In C and C++ you can write free standing functions. In Java you can't; everything is an Object.
The other substantive difference is the event model. This is more of an environment or Operating System issue, but as Java is multiplatform by design, it gets drawn into effort of learning the language. The event model is supported by the standard Java classes (kind of like the standard library in C) and will bear study, regardless of other experience.
On the other hand, as I'm sure you've heard, there are far fewer ways to quietly shoot yourself in the foot (i.e. without noticing until it is far too late). All the memory management issues, and the sometimes arcane rules about type casting, promotion and portability etc. etc. are done away with in Java.

So in summary, I suppose one could say that a working knowledge of C/C++ gets you half or three quarters of the way there; on the other hand it's not necessary.

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question