Click here to Skip to main content
15,909,440 members
Please Sign up or sign in to vote.
2.19/5 (5 votes)
See more:
hi,
I know html, css & python. I wanna learn java. Is it possible for me to learn java without knowing c/c++?
Posted
Updated 2-Dec-13 21:34pm
v2
Comments
nv3 3-Dec-13 3:37am    
Why not? Of course it helps if you are familiar with object oriented concepts and some c++ knowledge would certainly not hurt. But that is no requirement. Many others have learned Java without ever knowing C++.

Yes.
Get a course, or a book (avoid those with "in XXX days", "for dummies" or multiple exclamation marks in the title) and follow it from beginning to end, doing all the exercises. Bear in mind that knowing HTML and CSS will probably not be a help, but the Python experience should at least have you familiar with the basics of programming.
 
Share this answer
 
Comments
Rezaul H Sagar 3-Dec-13 22:45pm    
I have downloaded Java SDK & Eclipse IDE. Would you mind suggesting me a pdf version book?
OriginalGriff 4-Dec-13 5:34am    
No. "PDF books" are normally illegally copied versions and we do not condone piracy or copyright theft in any form.
Rezaul H Sagar 4-Dec-13 11:40am    
:)
You can learn java without C/C++ knowledge but learning both if the best. C++ is a messy and difficult language but a lot libraries are available only in C/C++.

Java is much more easier and cleaner language than C++. The number of the language features is the fraction of that of C++ and Java is based on better language design decisions from many aspects (that is a very good thing and makes java a sure winner when it comes to ease of learning). Both being general purpose languages (of the same family: C) makes both of them suitable to solve a lot of problems in common but there are some domains in which either C++ or Java is the winner. When it comes to productivity in general its unquestionable that Java is the winner (depending on the domain of course). If you decide to learn C/C++ it will a more bumpy road for you seeing your background with high level languages. In my opinion go for java first, its a very good step between python and C++.
 
Share this answer
 
Java is easier to learn in comparison to C++ and also "cleaner". It's also more forgiving to work with since it can recompile code at run-time and does provide automatic memory management. This is not always a desired behavior but for most applications it works very well.

However the challenging task would still be to learn how to model and design OOP programs in a proper and good way rather than learning the syntax of the language used to implement it.
 
Share this answer
 
Certainly, go to the Java Tutorials[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900