Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > New to Java (a C++ migrant) want to quickly get on to language

Reply
Thread Tools

New to Java (a C++ migrant) want to quickly get on to language

 
 
Amol
Guest
Posts: n/a
 
      01-19-2007
Hi, I'm new to Java programming and I've 2-3 years of C++ programming
exp. I want list of good books that will help me to quickly get on to
the language. I don't want to waste my time in learning for loop or
even inheritance or polymorphism.

 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      01-19-2007
Amol wrote:
> Hi, I'm new to Java programming and I've 2-3 years of C++ programming
> exp. I want list of good books that will help me to quickly get on to
> the language. I don't want to waste my time in learning for loop or
> even inheritance or polymorphism.


For books, you might check some of the ones listed here..
<http://www.techbookreport.com/JavaIndex.html>

Note that if you can lay your hands on a book that
highlights the *differences* between Java & C++,
the 'gotchas' for those changing between them,
it will save you a lot of trouble.

There are occasional questions that come up
around here where the question is 'so stupid'
that it could only come from someone under
the misapprehension that Java is another language.

Note also that Sun themselves provide good
documentation on Java in the form of the
Java Tutorial (which allows you to skip any
basics you want, and get into particular areas
of interest) and the JavaDocs (the description
of the classes and methods of each Java version).

Both are browsable on-line, or can be downloaded.

HTH

Andrew T.

 
Reply With Quote
 
 
 
 
Thomas Fritsch
Guest
Posts: n/a
 
      01-19-2007
Amol wrote:

> Hi, I'm new to Java programming and I've 2-3 years of C++ programming
> exp. I want list of good books that will help me to quickly get on to
> the language.


> I don't want to waste my time in learning for loop or
> even inheritance or polymorphism.

But be alarmed, that there are some subtle differences even in that area
(inheritance and polymorphism). They may confuse especially the experienced
C++ migrant:
(1) All non-static Java-methods (except the private ones) are virtual.
(2) Java classes can't extend multiple super-classes. But that is no
harm, because they can implement multiple interfaces (see 3).
(3) Java has 'interfaces' (roughly like C++ classes with nothing
but pure virtual methods)

--
Thomas
 
Reply With Quote
 
Patricia Shanahan
Guest
Posts: n/a
 
      01-19-2007
Andrew Thompson wrote:
> Amol wrote:
>> Hi, I'm new to Java programming and I've 2-3 years of C++ programming
>> exp. I want list of good books that will help me to quickly get on to
>> the language. I don't want to waste my time in learning for loop or
>> even inheritance or polymorphism.

>
> For books, you might check some of the ones listed here..
> <http://www.techbookreport.com/JavaIndex.html>
>
> Note that if you can lay your hands on a book that
> highlights the *differences* between Java & C++,
> the 'gotchas' for those changing between them,
> it will save you a lot of trouble.
>


Your mileage may vary. I came to Java having programmed in many
languages, including a few years of C++.

At various points I've tried "conversion" books, and they don't really
work for me. They tend to leave me thinking in language A and
translating to language B, when I really want to think fluently in B.

I do better buying a book intended for beginners that is completely
focused on the language I'm trying to learn. I tend to get through those
books rather quickly, because I can read many sections quite fast and do
the exercises far quicker than a real beginner would.

Patricia
 
Reply With Quote
 
Andrew Thompson
Guest
Posts: n/a
 
      01-19-2007
Patricia Shanahan wrote:
> Andrew Thompson wrote:

....
> > ..lay your hands on a book that
> > highlights the *differences* between Java & C++,
> > the 'gotchas' for those changing between them,
> > it will save you a lot of trouble.

...
> Your mileage may vary. ..

....
> At various points I've tried "conversion" books, and they don't really
> work for me. They tend to leave me thinking in language A and
> translating to language B, when I really want to think fluently in B.


Interesting point. I have never tried 'A for B' books,
as my major conversion was from COBOL to Java,
and there were no books for such an (unlikely)
conversion. I suppose the thing there would have
been more 'OO thinking for procedural programmers',
in any case.

Andrew T.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quickly get count of files on linux Ram Prasad C Programming 8 09-29-2011 07:19 PM
Get an arbitrary hash key, quickly. xhoster@gmail.com Perl Misc 43 02-24-2008 08:37 PM
Insert to a vector quickly and get the insertation position Thomas Kowalski C++ 4 09-22-2006 02:32 PM
how to get 20000 html pages content quickly from one server? JuHui Python 1 03-17-2006 03:09 AM
Hi I have one web application and i want to get the number of users who are currently accessing the application. Also I want to get the user details of each user, which is stored in a database. How can I do this? Pls help. Getting No: and anu Java 11 05-12-2005 03:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57