5 Replies - 1088 Views - Last Post: 03 February 2011 - 08:12 AM Rate Topic: -----

#1 sanamazahir  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 03-February 11

beginning java

Posted 03 February 2011 - 02:27 AM

hello..actually i want to learn java..i have done two courses of c++ but i dont know any other language..i really dont know where to start because i become completely lost when i read tutorials available on the internet...do you recommend some book??java seems so different from c++....
Is This A Good Question/Topic? 0
  • +

Replies To: beginning java

#2 villalandron  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 153
  • Joined: 24-September 08

Re: beginning java

Posted 03 February 2011 - 03:41 AM

I've been using Starting out with Java: From Control Structures through objects by Tony Gaddis. In my opinion, this is not the most detailed book that I have ever read by in my opinion, is as good as it can get in Java.
Was This Post Helpful? 0
  • +
  • -

#3 DaneAU  Icon User is offline

  • Great::Southern::Land
  • member icon

Reputation: 284
  • View blog
  • Posts: 1,617
  • Joined: 15-May 08

Re: beginning java

Posted 03 February 2011 - 03:42 AM

Well it is different however the principles of object oriented programming certainly follow through. The best bet is to start with simple programs and simple things such as primatives, you will notice they are all the same. In the end everything is in terms of classes. Where as in C++ you will have a main function sitting in your main.cpp in java your main will be inside a class.

public class HelloWorld {
 
  public static void main(String[] args) {
    System.out.println("HelloWorld!");
  }
}



In C++
#include <iostream>

using namespace std;

int main() {
   cout << "HelloWorld!" << endl;
   return 0;
}


So if you wish to get into a book i can recommend




There are of course limitless resources online for you.
Was This Post Helpful? 0
  • +
  • -

#4 n8schatten  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 145
  • View blog
  • Posts: 263
  • Joined: 07-December 10

Re: beginning java

Posted 03 February 2011 - 04:07 AM

Our apprentice learned quiet well reading Heads First Java. Didn't have the time to look into it myself, but I think it's worth taking a look at.
Was This Post Helpful? 0
  • +
  • -

#5 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10397
  • View blog
  • Posts: 38,465
  • Joined: 27-December 08

Re: beginning java

Posted 03 February 2011 - 07:17 AM

You should check out my thread Getting Better at Programming Java, as well as the Best Beginner's Book thread.
Was This Post Helpful? 0
  • +
  • -

#6 Tryparse  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 80
  • View blog
  • Posts: 193
  • Joined: 20-April 10

Re: beginning java

Posted 03 February 2011 - 08:12 AM

My school is using Java How to Program.
If videos are more your style, this guy does a great job.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1