aspose file tools*
The moose likes Beginning Java and the fly likes How to start learning Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to start learning Java" Watch "How to start learning Java" New topic
Author

How to start learning Java

Durgesh Kumar
Greenhorn

Joined: Dec 30, 2012
Posts: 16
Okay, first of all I'm sorry for being a noob(I'm actually).
I just want to learn JAVA. I tried it many times but couldn't do it. I am afraid of logics and all like what to use, how to use, when to use.
I really wanna learn it.
So could anybody please tell me from where to start it?
And tell me like I have never heard about JAVA.
Please please please ^_^.
Kemal Sokolovic
Bartender

Joined: Jun 19, 2010
Posts: 825
    
    5

Well, you can start here. I'm sure searching the site will give you some more useful answers. And please, UseAMeaningfulSubjectLine in the future.

Welcome to the Ranch!


The quieter you are, the more you are able to hear.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11480
    
  16

If you are looking for a magic bullet where someone writes a paragraph or two which magically converts you into a programmer...you are out of luck. It takes years to become a good programmer...just like it takes years to become a ballerina, a concert pianist, or a world class sculptor.

The only way to learn is to do it, and do it a lot. find a good book, read it, and do the exercises. Read more books, blogs, and articles. ask questions. try things, change them, experiment. the more you write, the better.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Durgesh Kumar
Greenhorn

Joined: Dec 30, 2012
Posts: 16
I said I was sorry for being a noob. But again I am sorry for the way I posted my problem here.I just wanted to get attention. I promise next time this won't happen.
And I know,before, to write this I should have searched for the topics, but I am really desperate. And I don't want to be expert in JAVA just in 24 hours or what others' claim to be. I just want a good start, that's all.
And Thank you 'Kemal' and 'Fred' for helping me.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8250
    
  23

Kumar Iitj wrote:I really wanna learn it.

Then read this. It's basically saying exactly what Fred did, but it gives you a few points of reference.

I guess my question to you is: why do you want to learn it? Answer that, and I'm sure that Fred and Norvig will be able to to guide you on your way.

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Durgesh Kumar
Greenhorn

Joined: Dec 30, 2012
Posts: 16
Winston Gutkowski wrote:

I guess my question to you is: why do you want to learn it? Answer that, and I'm sure that Fred and Norvig will be able to to guide you on your way.

Winston

That's definitely a good question. So for my answer to that question is that I want to get a job.
Now a days most of the companies are asking for JAVA, pearl,python and all. And most of the application are java based. So to get a job, I guess learning java is the best option.
I still have 3-4 months times. So I want to utilize this time in learning Java or maybe C++. I hope you do understand my problem.
And Thank you for your help.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8250
    
  23

Kumar Iitj wrote:I still have 3-4 months times. So I want to utilize this time in learning Java or maybe C++.

Of the two, I would say that Java is probably the better choice, unless you really like managing your own memory.

It's also the "cleaner" language - From what I've read, I understand that Bjarne himself only regarded C++ as an extension to C (albeit, a damn good one); not a fully-formed "language".

Winston
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11480
    
  16

Kumar Iitj wrote:So for my answer to that question is that I want to get a job.
Now a days most of the companies are asking for JAVA, pearl,python and all.

Make sure it is something you ENJOY doing. You don't want a job that you hate, since you will be doing it for the next 30 years.

Also, something you should learn now is that in programming, details are important. For example, I would bet most companies are asking for Perl experience, not Pearl.
Andy Jack
Ranch Hand

Joined: Nov 22, 2012
Posts: 257
Kumar Iitj wrote:
So for my answer to that question is that I want to get a job.
--------
I still have 3-4 months times. So I want to utilize this time in learning Java----


3-4 months ? How much time do you have per day in those months to study ? If you don't get "enough time", then things might be a little difficult.
Java does not mean just reading 2-3 java books or even passing some Java certification. That amounts to almost nothing.
You need to know other things too to get a "Java Job" Data Structures, Algorithms, Design Patterns, IDE, SVN/GIT, Code Testing, Database/SQL.
I don't know if you can do all that in 3-4 months.

I am suggesting some questions you can answer. You might get more answers -

1 - What is your current level of education, professional experience ? (CS degree ???)
2 - You like solving logic puzzles and problems ? (Think about this one carefully)
3 - What do you mean by this - I am afraid of logics and all like what to use, how to use, when to use. ?
show us an example where you became "afraid of logic" ? This may be related to the 2nd question.
4- When you were learning java, which book were you using and what was your method of study ?
did you write code or just read a book.


and please describe your situation in enough detail.

Think about it - you go to a mechanic and say "my car is not working ***properly***, what do i do ?"
How can someone help you with such little information ?

The mechanic needs to know if its starting or not, or if it stops after moving a mile and things like that.
Then he can figure out which part needs fixing.

makes sense ?



Java Newbie with 72% in OCJP/SCJP - Super Confused Jobless Programmer.
I am a "newbie" too. Please verify my answers before you accept them.
Durgesh Kumar
Greenhorn

Joined: Dec 30, 2012
Posts: 16
Andy Jack wrote:

1 - What is your current level of education, professional experience ? (CS degree ???)
2 - You like solving logic puzzles and problems ? (Think about this one carefully)
3 - What do you mean by this - I am afraid of logics and all like what to use, how to use, when to use. ?
show us an example where you became "afraid of logic" ? This may be related to the 2nd question.
4- When you were learning java, which book were you using and what was your method of study ?
did you write code or just read a book.



Well the campus placement procedures are going on.1) I am a CSE student, and I don't know Java(What a shame!). Just a theory guy. No practical approach.But still, now, I have decided to learn it.
3) I wanted to learn it before but because of the logic i mean what to write for a problem,where to write functions, where and when to use loops and cases and all I couldn't do it. And the time passed.
I like solving puzzles.2) I am good in aptitude, reasoning and data interpretation but that's not good enough to learn Java.
4) I , now, start to learn it and I have Head-First Java Book. And I just read it. Writing code is still a distant dream for me.
And I am now learning to get a Job, not mean that I will hate it later. I don't know how to explain my condition/situation at this time.
Durgesh Kumar
Greenhorn

Joined: Dec 30, 2012
Posts: 16
fred rosenberger wrote:
Make sure it is something you ENJOY doing. You don't want a job that you hate, since you will be doing it for the next 30 years.

Also, something you should learn now is that in programming, details are important. For example, I would bet most companies are asking for Perl experience, not Pearl.

Well in case of fresher they just ask whether I know about Java/pearl/C++/etc or not. So to start I just have to know about language.
And I won't hate it, because this is the field(IT/Computer Science) I will do my work for the rest of my life.
Thank you.
Andy Jack
Ranch Hand

Joined: Nov 22, 2012
Posts: 257
Durgesh Kumar wrote:
I don't know how to explain my condition/situation at this time.


In that case, I cannot be of any help. Good luck in finding someone who can.
Kemal Sokolovic
Bartender

Joined: Jun 19, 2010
Posts: 825
    
    5

Durgesh Kumar wrote:That's definitely a good question. So for my answer to that question is that I want to get a job.

Well, this certainly gives different taste to the topic than your original post.

However, I can't understand how these:
  • I am afraid of logics and all like what to use, how to use, when to use.
  • I am a CSE student . . .

  • can both be true at the same time.

    I still have 3-4 months times.

    Unfortunately I strongly believe that with no previous experience 3-4 months is not enough to get knowledge and/or skill to be productive at development position.
    fred rosenberger
    lowercase baba
    Bartender

    Joined: Oct 02, 2003
    Posts: 11480
        
      16

    Durgesh Kumar wrote:
    fred rosenberger wrote:
    Make sure it is something you ENJOY doing. You don't want a job that you hate, since you will be doing it for the next 30 years.

    Also, something you should learn now is that in programming, details are important. For example, I would bet most companies are asking for Perl experience, not Pearl.

    Well in case of fresher they just ask whether I know about Java/pearl/C++/etc or not. So to start I just have to know about language.
    And I won't hate it, because this is the field(IT/Computer Science) I will do my work for the rest of my life.
    Thank you.

    Seriously...if you don't start paying attention to things like the difference between "Pearl" and "Perl", you will never be able to program well.

    Pearl is a girl's name or what you find in an oyster.
    Perl is a programming language.

    If you put "Pearl" experience on a resume, it will be tossed into the trash can.
    Karan Kaw
    Greenhorn

    Joined: Jan 05, 2013
    Posts: 11
    Folks, It happens.
    Seriously, In indian universities Quantity takes precedence over Quality and The approach to education is theory based(read Rote Learning) usually.
    That is why, Durgesh Kumar said "he is afraid of Logic" means The University education does not lays emphasis on Programming.

    There is Huge SKILL GAP what universities produce and What Industry(OFFSHORING) needs.

    @Durgesh Kumar, You should Overcome Fear.
    Try to develop passion towards Programming, then You will love your S/W developer job.
    Programming takes 'PATIENCE' and 'PRACTICE.
    Ivan Jozsef Balazs
    Rancher

    Joined: May 22, 2012
    Posts: 877
        
        5
    fred rosenberger wrote:Seriously...if you don't start paying attention to things like the difference between "Pearl" and "Perl", you will never be able to program well.



    Or the difference between "Java" and "JAVA".
    J. Kevin Robbins
    Bartender

    Joined: Dec 16, 2010
    Posts: 1043
        
      13

    Durgesh Kumar wrote:
    4) I , now, start to learn it and I have Head-First Java Book. And I just read it. Writing code is still a distant dream for me.


    It's my opinion that programming books can't just be read like a text book. You need to read it while in front of your computer. Enter, compile, and run every example. Then change it and see what happens. Sure, you can print "Hello World" to the screen. Good for you. Now change it to pass "Hello World" as a parameter. Now change it to pull "Hello World" from a Map or List. Now change it to print "Hello World" backwards. When you get to the end of the chapter, do the same thing with the exercises. It will take you weeks to get through a typical book, and you will fail over and over, but when you get it right you will experience a huge sense of satisfaction and you will learn it in a way that's impossible from just reading.

    And by the way, do this with a text editor like Notepad++ and the command line compiler. Save the IDE's for later.

    Good luck to you.



    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
    Durgesh Kumar
    Greenhorn

    Joined: Dec 30, 2012
    Posts: 16
    Jk Robbins wrote:
    You need to read it while in front of your computer. Enter, compile, and run every example. Then change it and see what happens.



    Good luck to you.


    Thank you. And yeah.. I have started to do so.
    I hope within 2-3 months I will suggest others about what to do and what not to while learning JAVA or any other programming language.
    Durgesh Kumar
    Greenhorn

    Joined: Dec 30, 2012
    Posts: 16
    Ivan Jozsef Balazs wrote:


    Or the difference between "Java" and "JAVA".

    Then blame the owner of this forum too.
    Durgesh Kumar
    Greenhorn

    Joined: Dec 30, 2012
    Posts: 16
    Karan Kaw wrote:

    @Durgesh Kumar, You should Overcome Fear.
    Try to develop passion towards Programming, then You will love your S/W developer job.
    Programming takes 'PATIENCE' and 'PRACTICE.

    Thank you mate.!
    I have started to write/compile/run my programs.(Not mine till now, still practicing examples. :P).
    Durgesh Kumar
    Greenhorn

    Joined: Dec 30, 2012
    Posts: 16
    Andy Jack wrote:

    In that case, I cannot be of any help. Good luck in finding someone who can.

    Thank you for your concern mate.
    Durgesh Kumar
    Greenhorn

    Joined: Dec 30, 2012
    Posts: 16
    fred rosenberger wrote:
    Seriously...if you don't start paying attention to things like the difference between "Pearl" and "Perl", you will never be able to program well.

    Pearl is a girl's name or what you find in an oyster.
    Perl is a programming language.

    If you put "Pearl" experience on a resume, it will be tossed into the trash can.

    OOps. That was a blunder. I am not suppose to do such mistakes.
    Thank you mate for clarifying it.
    Durgesh Kumar
    Greenhorn

    Joined: Dec 30, 2012
    Posts: 16
    And thank to all for your concerns and quick replies.
    Your suggestions really helped me.(I mean I started to learn and now I'm practicing).
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: How to start learning Java