Results 1 to 8 of 8
  1. #1
    bayayyay's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Cheerful

    Question Starting to learn Java

    Hey,
    I am currently interested in learning Java and I am wondering how I should start to learn the language.
    My problem is, I am more of a 'learn-while-doing' type person. I learnt LUA (for Garry's Mod) by looking at basic SWEP (Scripted Weapon) and SENT (Scripted Entity) code and seeing how it
    worked and built my knowledge off of that and the Garry's Mod Wiki. So, as you can tell, I am fairly clueless as to how I should begin learning Java, I was thinking of making simple Minecraft mods and then expanding my knowledge from that. Is there any other way that you would recommend me checking out and trying?

    Thanks in advanced,
    Bayayyay

  2. #2
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    Java Tutorial | Java Introduction | W3schools
    Topics include:
    Java Introduction
    Java History
    Java Features
    Java Virtual Machine (JVM)
    First Java Program ( Hello World Program )
    Keywords and Identifiers
    Variables & Primitive Data Types
    Java Comments
    Java Data Types
    Java Operators
    Decision Making Statement
    Looping and Iteration
    Object Oriented Programming In Java
    Object and Class
    Classes and Methods
    Constructors
    Constants
    Encapsulation
    Access Modifiers
    Inheritance in Java
    Invoking Base Class Constructors ( Super Keyword )
    Method Overriding in Java
    Method Overloading in Java
    Constructor Overloading in Java
    Difference Between Method Overriding and Method Overloading
    Polymorphism In Java
    Dynamic method dispatch
    Abstraction in java
    Abstract Classes and Methods
    Interfaces In Java
    Defining interfaces In Java
    Implementing interfaces In Java
    Extending interfaces In Java
    Packages in Java
    Wrapper Class In Java
    String & StringBuffer
    Exception Handling In Java
    Multithreading In Java
    Collections In Java
    Java Input/Output
    You say you learn by reading others' code; maybe look at samples on different code website? You have to learn the core language features before doing anything specific like modding a game or your code will look.. silly. Can you create custom classes in lua? supports polymorphism and virtual functions? You learned about variable scope ofc? Data types? If / Switch, Loops. Containers / arrays? Memory management and dynamic memory? And so much more? I'd read each of the topics posted above and while reading, 'do' the code examples and make small changes to 'play' with it. Depends how comfortable you are with certain concepts like range-based loops, etc. Some of it is pretty universal from language to language(like IF statement), some things (like inheritance from multiple bases) aren't.
    Last edited by abuckau907; 10-28-2013 at 10:02 AM.
    'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
    --
     

    My posts have some inaccuracies/are wrong/wrong keyword(s) used.
    They're (maybe) pretty close, and I hope they helped you, not created confusion. Take with grain of salt.

    -if you give rep, please leave a comment, else it means less.

  3. The Following User Says Thank You to abuckau907 For This Useful Post:

    bayayyay (11-01-2013)

  4. #3
    ArnavKumar's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    7
    Reputation
    14
    Thanks
    0
    Thank you abuckau907,
    this post is very helpful also for me.

  5. #4
    The Void Aroma's Avatar
    Join Date
    May 2014
    Gender
    male
    Location
    United States
    Posts
    20
    Reputation
    10
    Thanks
    1
    A nice idea would be to create small projects for yourself and set due dates for them. If you are more of a learn-while-doing-it person, then that's perfectly fine. Especially for programming. If you want to try out this idea, make sure you give yourself projects that are actually challenging for you.

    I recommend that you download the Eclipse IDE, if you haven't already.

  6. #5
    willy14's Avatar
    Join Date
    Feb 2014
    Gender
    male
    Posts
    469
    Reputation
    10
    Thanks
    82
    My Mood
    Inspired
    I can send you Java for Dummies for free if you want

  7. #6
    AlphaDog209's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    5
    Quote Originally Posted by The Void Aroma View Post
    I recommend that you download the Eclipse IDE, if you haven't already.
    I recommend that you download IntelliJ, they have a free community edition that will suite all your needs.
    You can use a keygen for the ultimate edition if you want so.

    This is by far the best java IDE in my opinion.

  8. #7
    AlphaDog209's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    5
    Quote Originally Posted by The Void Aroma View Post
    I recommend that you download the Eclipse IDE, if you haven't already.
    I recommend that you download IntelliJ, they have a free community edition that will suite all your needs.
    You can use a keygen for the ultimate edition if you want so.

    This is by far the best java IDE in my opinion.

  9. #8
    dkofek's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    The toilet in the club next to your house
    Posts
    59
    Reputation
    13
    Thanks
    114
    My Mood
    Bored
    Try using Eclipse workspace, best one I've ever used for Java.

Similar Threads

  1. [Tutorial] How to Get Started Learning Java
    By Woodhouse in forum Java
    Replies: 16
    Last Post: 04-16-2019, 02:12 PM
  2. I'm starting to learn..
    By Jessika in forum General
    Replies: 44
    Last Post: 03-11-2011, 10:55 PM
  3. Is it worth learning java?
    By _-Blazin-_ in forum Java
    Replies: 10
    Last Post: 10-28-2010, 08:55 PM
  4. A place to start to learn C++
    By DawgiiStylz in forum General
    Replies: 5
    Last Post: 10-05-2009, 09:49 AM
  5. Starting to learn c++
    By kingnoobe in forum C++/C Programming
    Replies: 6
    Last Post: 08-13-2008, 12:43 AM

Tags for this Thread