Joseph Eagan wrote:I am new here so hello everyone!!! I am starting classes in May for Java, and I am taking a look into it. This site comes highly recommended. I hope Java is a bit easier to grasp than C and C++.
One of the original reasons to create Java was that the language designers wanted to create a language that was easier to use and learn than C++. Java has grown over the years and has gotten some advanced features that are not so easy for beginners to learn (generics, for example), but it is still a lot easier than C++. There are many tricky things in C++ and you have to manage memory and pointers manually - Java doesn't have pointers and automatically cleans up objects that aren't used anymore in your program. Just those two things already make it a lot easier than C++.
Enjoy learning Java and feel free to ask questions on the forums here!
Joseph Eagan wrote:I have had C, C++ intermediate and advanced classes, I think it's that C++ is soooo tedious and not easy at all to learn for the beginner although I think it is a good place to start.
I am new here so hello everyone!!! I am starting classes in May for Java, and I am taking a look into it. This site comes highly recommended. I hope Java is a bit easier to grasp than C and C++.
java is really fun and i think you would enjoy learning it. Itz eazier than c and c++ in terms of its syntax , the functions etc. but your logic in any programming language is virtually the same.
I would say to Joseph, hey, maybe C++ isn't so tedious if you start with one of MY books... namely the most recent, C++ Without ?Fear, 2nd Edition. (Yes, I know, a shameless plug.)
One problem though is that even I haven't written about C in years. Other than the object-oriented and other extensions, C and C++ are so close in 99% of the ways, but that 1% difference might trip you up if you start by learning C++. There are some things C lets you do that C++ doesn't, and vice-versa. (All the class and template stuff, of course, is new in C++ and not supported in C.) Overloading is unique to C++ as opposed to C.
The K&R book, The C Programming Language, still does the job of teaching C succinctly and intelligently, but it moves very, very fast, and it assumes you understand all the concepts of programming -- including what an address is and what it is for.
I would recommend one of my old books, C In Plain English... unfortunately, it hasn't been in print for awhile, I think. But if you can find a copy on eBay.