Solved

Java prerequisites

Posted on 1997-12-17
1
719 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 50 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
login jsp example 24 65
Java string replace 11 54
Html Table Looping (part 2) 5 27
Cisco ASA: Java web start no go, asdm launcher no go 3 34
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

856 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