Maximize your learning potential.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 12 of 12

Thread: Maximize your learning potential.

  1. #1
    Join Date
    Mar 2006
    Posts
    37

    Maximize your learning potential.

    I am trying to learn Java but for someone who has a very short attention span it is becoming rather frustrating. Can you guys help tell me way's that helped you grasp the language. I would like to really understand this language So I can

    1) create programs

    2) Give back to this community.

    These are my two main goals for learning Java.

  2. #2
    Join Date
    Mar 2005
    Location
    UK, London
    Posts
    150
    I would normally say start with a simple program, but I dont know what you are finding fraustrating. What are you having troubles with, is it classes methods. Reading tutorials are good, only if you can understand it. The best way in my opinion is to start developing small programs and gradually adding more functions to it. So I will get you started, for 25 marks, please write a program that displays the string "I can do it" to the console.

  3. #3
    Join Date
    Apr 2006
    Posts
    20
    major is on the right track, so may I also reccomend this book, if you're serious about learning java:

    http://www.amazon.co.uk/exec/obidos/...343509-7895642

    We use this on in my uni, its a great help.

    (if you aren't in the uk, the book is called "Head First Java", so search your local bookstores or wherever for it)

    Also, for another 30 marks, write a program that adds two integers a and b (hard coded into the program, don't worry about getting input from users yet) and outputs both a and b, then the results of:

    a + b
    a - b
    a * b
    a / b

    not too hard, a nice easy way into learning about integer variables =)
    Last edited by ftr; 04-15-2006 at 08:02 AM.

  4. #4
    Join Date
    Mar 2006
    Posts
    37
    The program For Major would be
    Code:
    class PrintMessage
    {
     public static void main(String[] myArgs)
     {
       System.out.println("I can do it.");
      }
    }
    This part I understand. I guess my real problem is that I try and cram too many chapters in one seating. I guess a better way to have asked my question, would have been how does everyone study for java. Do you read as much as you can or say maybe a chapter and stop and let it sink in.(The part that just became to frustrating was during my chapter of polymorphism and the whole inheritance.)

    The code for ftr would be
    Code:
    class MathProblems
    {
      public static void main(String[] myArgs)
      {
        int a = 5;
        int b = 10;
        
        System.out.println(" a + b = " + (a+b));
        System.out.println(" a - b = " + (a - b));
        System.out.println(" a * b = " + (a * b));
        System.out.println(" a / b = " + (a / b));
      }
    }
    Ftr I have that book. I really like it but I got really lost at the part where they were creating the battleship(Sink a dotcom game). So I restarted again. I am going to just try and read a chapter a day. Maybe two depending on how the last chapter was.
    Last edited by javatier; 04-17-2006 at 09:31 AM.

  5. #5
    Join Date
    Apr 2006
    Posts
    20
    Looks like a solid 55 marks!

    Well my university course is using java for its Object Orientated Programming classes, so I take it through at the pace the lecturers put me through. The best way would be to sit down in front of your pc, do all the code examples and questions in a chapter, fiddle with them, comment them yourself so you have an understanding, and do as much as you can take in in one sitting and then keep practicing that same stuff for a few days at the very least.

  6. #6
    Join Date
    Mar 2006
    Posts
    37
    Thats What I was thinking. I would do maybe one chapter per night then for the next two days or so go over what I just learned and expierment with it. I appreciate all your input.

    One last question. What are marks?
    Last edited by javatier; 04-17-2006 at 04:46 PM.

  7. #7
    Join Date
    Apr 2006
    Posts
    20
    Major gave 25 marks for his question and I gave 30 for mine, so you got 55 :P

    Just points, really. Kinda mimicking a test paper lol

  8. #8
    Join Date
    Mar 2006
    Posts
    37
    I see. Makes more sense now. I was looking all over my User cp for that.

  9. #9
    Join Date
    Feb 2006
    Location
    Cologne - Germany
    Posts
    271
    a very basic step by step java book is "java ist auch eine insel", which is also available as free online book. the hook: it's in german and i don't think that there is an english version available. but it's really good, since it has many of examples for all the basic stuff.
    "thinking in java" is another one, but in my oppinion, it's more advanced.

  10. #10
    Join Date
    Mar 2006
    Posts
    37
    Last Time I checked I believe I bought about three java books. The first one was Java core 2. volume I fundamentals. The Second book I have is Learning Java. The Third book I have is Head First Java. Right now I am reading Learning Java.

  11. #11
    Join Date
    Feb 2006
    Location
    Cologne - Germany
    Posts
    271
    do you already have experience in object-oriented programming? i think that's the crux of java programming, and of course knowing a lot of apis and classes and what they're for.

  12. #12
    Join Date
    Mar 2006
    Posts
    37
    I have no expierence at all in programing. I am Actually a Network Engineer at a Casino. I am trying to learn on my own. I would like to get into programming and mainly Database

Similar Threads

  1. Learning OO programming from scratch.
    By Mark Alexander Bertenshaw in forum .NET
    Replies: 24
    Last Post: 08-14-2002, 10:48 AM
  2. Learning is never a waste of time
    By Nick in forum Talk to the Editors
    Replies: 6
    Last Post: 11-21-2001, 01:50 AM
  3. VB - Learning Edition/Enterprise Edition
    By Nivelimac in forum VB Classic
    Replies: 0
    Last Post: 11-17-2000, 03:08 PM
  4. Learning Java...
    By Jason J. in forum Java
    Replies: 0
    Last Post: 06-28-2000, 09:57 AM
  5. ADO in Learning Edition
    By T. Adcock in forum VB Classic
    Replies: 2
    Last Post: 03-21-2000, 08:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center