Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Java prerequisites

Posted on 1997-12-17
1
Medium Priority
?
736 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.
Suggested Courses

715 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