You are viewing our Forum Archives. To view or take place in current topics click here.
Learning Java Progress [60 Days]
Posted:

Learning Java Progress [60 Days]Posted:

HCIM
  • Wise One
Status: Offline
Joined: Oct 17, 201212Year Member
Posts: 594
Reputation Power: 23
Status: Offline
Joined: Oct 17, 201212Year Member
Posts: 594
Reputation Power: 23

[ Register or Signin to view external links. ]
This thread will track the progress of me learning Java in 60 days.
I am using the book 'Head First Java (Second Edition)'
At the bottom of page I will include my latest java example of using techniques that I have learned.
Wish me luck.




Day 1:

  • Purchased book (Head First Java)
  • Vocabulary terms / Basic Java Information ("Tiger on Tiger") using Java 5.0(1.5) with Unix 10.4.

Day 2:

  • Compiled using 'Command Prompt' (%javac party.java / %java party)
  • Introduced to integers, strings, and arrays. (Int[] int = {}, String[] string = {})
  • Introduced to loops (For, While, Do-while)
  • Introduced to if else, and else if statements.


Latest Java Example

public class practiceCode {
   public static void main(String[] args) {
      //99 bottles of beer on the wall (Song)
      int beerNum = 99;
      String word = "bottles";
      
      while(beerNum > 0) {
         if(beerNum == 1) {
            word = "bottle";
         }
         
         System.out.print(beerNum + " " + word + " of beer on the wall, ");
         System.out.println(beerNum + " " + word + " of beer.");
         System.out.print("Take one down and ");
         System.out.print("pass it around, ");
         beerNum = beerNum - 1;
         
         if (beerNum > 0) {
            System.out.println(beerNum + " " + word + " of beer on the wall. ");
         } else {
            System.out.println("No more bottles of beer on the wall.");
         }
      }
      
    }
}


Last edited by HCIM ; edited 5 times in total
#2. Posted:
Exoplasm
  • Challenger
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 197
Reputation Power: 8
Status: Offline
Joined: Oct 30, 201113Year Member
Posts: 197
Reputation Power: 8
Good luck man learning it right now i love it so far
#3. Posted:
Banq
  • Gold Gifter
Status: Offline
Joined: May 25, 201212Year Member
Posts: 932
Reputation Power: 90
Status: Offline
Joined: May 25, 201212Year Member
Posts: 932
Reputation Power: 90
Good luck my dude! I just finished learning ruby off of codeacademy and really enjoyed it. Not trying to promote it or anything b/c I think that might be against the rules, but you should certainly check it out as it has some great resources.

I don't think they offer Java yet, but if you are looking to pick up any other languages it was a great experience for me .

@Admins/Mods, if this is promoting another site or w/e and its against the rules just delete it. No biggy
#4. Posted:
ip
  • E3 2017
Status: Offline
Joined: Dec 30, 201211Year Member
Posts: 3,778
Reputation Power: 3016
Status: Offline
Joined: Dec 30, 201211Year Member
Posts: 3,778
Reputation Power: 3016
I took Intro and "Advanced" computer programming at my school and we learned java. It's a fairly fun language as we mostly dealt with graphics and text output. If you need any help OP just pm me.
#5. Posted:
HCIM
  • Wise One
Status: Offline
Joined: Oct 17, 201212Year Member
Posts: 594
Reputation Power: 23
Status: Offline
Joined: Oct 17, 201212Year Member
Posts: 594
Reputation Power: 23
Thanks for the input guys I spent nearly three hours learning last night. Not that I just wanted to read (I don't like reading honestly) but the book it just made things fun and easier to understand.
#6. Posted:
Telfordd
  • Challenger
Status: Offline
Joined: Feb 13, 201212Year Member
Posts: 138
Reputation Power: 5
Status: Offline
Joined: Feb 13, 201212Year Member
Posts: 138
Reputation Power: 5
Good luck man I've got that book and it's really good
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.