Afshin said:
Hello everybody
I have some years of experience with C++ and now need to learn java. I
appreciate if you could advise me on how to get started. In the past,
I used to work with Visual C++ 5.0 and 6.0 and have recently switched
to Visual Studio 2005. I see there is a Visual J# available out there.
Is it the right place to start?
This question is frequently asked, I suggest you use Google Groups to
search comp.lang.java.* for previous discussion of this.
A brief and incomplete recap:
AFAIK VS2005 is an IDE, IDEs for Java include
Eclipse.
http://www.eclipse.org. Open-Source. Free download.
Netbeans.
http://www.netbeans.org. Open-source. Free download.
JBuilder.
http://www.codegear.com/products/jbuilder. Commercial.
.... many others
I use Eclipse.
Netbeans includes a visual GUI editor called Matisse.
Good tutorials are available at
http://java.sun.com/docs/books/tutorial/
Java comes in several editions, start with the standard edition. The
other editions are for mobile devices and for enterprise applications
(e.g. web-services, JSP etc)
Most people advise you to start with console applications (non-GUI) and
only progress to GUI once you've mastered the initial problems people
have with classpaths etc.
Java has several GUI toolkits. For example AWT, Swing and SWT. I suggest
you try Swing first. Learn about pluggable "Look and Feel". Learn how to
use Layout Managers. Find out about third party GUI libraries like JGoodies.
Converting from language A to B is usually hindered by the fact that
paradigms in A cannot be directly translated to B, You have to unleard
A's paradigms first and then learn B's paradigms.
Interfaces not Multiple Inheritance.
References not pointer arithmetic.
...
I'd buy some good books. I like books by O'Reilly, e.g. "Learning Java".
There's a downloadable book "Thinking in Java" by Bruce Eckel, often
recommended.