• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Suggest some best way of learning Java

 
Greenhorn
Posts: 8
IBM DB2 MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks,

Please share some of the best way to learn JAVA in a practical way not by theoretical way.

Thanks & Regards,
Techtiny

 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello "Java Stub", welcome to CodeRanch.

The best way of learning is by doing. Write small programs yourself and experiment. There are many, many books on Java, some more theoretical, some more hands-on. Oracle's free, online Java Tutorials are also a good way to start learning Java.

Please check your private messages for an administrative matter.
 
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Likes 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Java Stub wrote:Please share some of the best way to learn JAVA in a practical way not by theoretical way.


Well the first thing to learn is that it's "Java", not "JAVA". Some of us old farts are a bit picky about things like that; and it's also a good first lesson:
Java is case-sensitive, so you can't be sloppy about spelling, or punctuation.

Secondly: Practise is great, but it'll only get you so far. At some point you will have to learn some theory; otherwise you'll be condemned to writing programs like a parrot.

Winston
 
Shobana Thambidurai
Greenhorn
Posts: 8
IBM DB2 MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Winston Gutkowski...Now I understood my level of knowledge in "Java" .
 
Greenhorn
Posts: 27
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This site: http://codingbat.com/

There are a good deal of problems that'll describe a method, and you have to write it to do what was described. Then you can have it check for you (it sends it to a server that runs it).
This is perfect if you are the kind of person that is fine with learning Java but doesn't know what to write for practice. (I loved it, finished every problem. )
Of course, you'll need to learn some Java first. I recommend their reading and any other basic Java tutorials you can find online. Or a book, those things are great! ;)

Best of luck,
Caleb
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello

Grab a book called "Herbert Schildt-Java the complete reference" and install the JAVA JDK on your computer

Use open source IDEs such as Eclipse / NET Beans.

Visit www.coderaunch.com to clarify any of your doubts.


Happy Learning

 
Marshal
Posts: 79151
377
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

I would disagree with your advice about the Schildt book, which is by no means suitable for beginners. I would also disagree about IDEs; they are often difficult to learn, and make things harder for beginners. I suggest you start with our FAQ. Agree with the advice about which website to look at . If you go to that site, you can find book reviews, too.
 
Shobana Thambidurai
Greenhorn
Posts: 8
IBM DB2 MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks @Campbell and @Sainath for your suggestions. I feel like Java is like a ocean. Don't to where to start..If I start also I am on the same topic for log time :P

 
Campbell Ritchie
Marshal
Posts: 79151
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You’re welcome
Yes, Java™ is like an ocean, but you can swim one stroke at a time. Is there any chance of enrolling on a course near where you live?
 
Winston Gutkowski
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Shobana Thambidurai wrote:Thanks @Campbell and @Sainath for your suggestions. I feel like Java is like a ocean. Don't to where to start..If I start also I am on the same topic for log time :P


I dont want to discourage you, but read this.

Simply put: There is no simple solution. You either learn or you don't. Chances are, if you're smart (and I assume you are; otherwise you wouldn't be asking the question), you'll be able to become conversant with the language in a month, and a decent practitioner in a year. After that it's practise, practise, practise.

As for books: Head First Java is oft-quoted here; after that: Effective Java would be my suggestion. But neither will shield you entirely from some theory.

Winston
 
Campbell Ritchie
Marshal
Posts: 79151
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Winston Gutkowski wrote: . . . I dont want to discourage you, . . . no simple solution. . . .

As I said, yes, it is like an ocean.
 
Winston Gutkowski
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:As I said, yes, it is like an ocean.


Yes, but to a swimmer, it's a challenge. (nice analogy BTW)

Do you want to be a concert pianist, or someone who can bash out a nice bit of rock 'n roll for friends?
Hint: There's no wrong answer.

Winston
 
Campbell Ritchie
Marshal
Posts: 79151
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you, but it was the OP’s analogy originally. Agree about concert pianist vs bash out a bit of rock’n’roll: another nice analogy.
 
Shobana Thambidurai
Greenhorn
Posts: 8
IBM DB2 MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Winston Gutkowski wrote:

Campbell Ritchie wrote:As I said, yes, it is like an ocean.


Yes, but to a swimmer, it's a challenge. (nice analogy BTW)

Do you want to be a concert pianist, or someone who can bash out a nice bit of rock 'n roll for friends?
Hint: There's no wrong answer.

Winston



Yes Winston, I read your article. Its really awesome. Before we start anything we need some trigger right. I think I got it now. Thanks Shobana.
 
Shobana Thambidurai
Greenhorn
Posts: 8
IBM DB2 MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:You’re welcome
Yes, Java™ is like an ocean, but you can swim one stroke at a time. Is there any chance of enrolling on a course near where you live?



Yes Campbell, I am planning to take one. Enrolled for Java 5.0. Have to take with in a month.

Thanks,
Shobana
 
Campbell Ritchie
Marshal
Posts: 79151
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why Java5? That was two versions old, and is now regarded as obsolete.
 
Ranch Hand
Posts: 91
IntelliJ IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Welcome to Java.My professor told me the best way to learn Java is to install the Java SDK and use a notepad. Compile the programs from the command line and try to learn javap. This has helped me a lot, the basics you learn will be rock solid.

Happy Learning
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The best way would be Just make habit to refer java docs for any API.
 
Shobana Thambidurai
Greenhorn
Posts: 8
IBM DB2 MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:Why Java5? That was two versions old, and is now regarded as obsolete.



Yes Campbell, will go for Java 6.0. Only limited count is there for enrolling certification from my company. But I got approved for Java 6.0 today only (luckily got it).

Thanks,
 
Campbell Ritchie
Marshal
Posts: 79151
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well done

You will find an example of how people are learning by playing with code here.
 
Shobana Thambidurai
Greenhorn
Posts: 8
IBM DB2 MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

Finally certified in Java 6.0. Thanks
 
Ranch Hand
Posts: 66
Netbeans IDE Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Shobana Thambidurai,


try out the book Head First Java..... its really helping me a lot to learn java in a easy way and hope that it will be helpful for you too...

i have started loving Java after reading it....
 
reply
    Bookmark Topic Watch Topic
  • New Topic