java coding question?

Discussion in 'Miscellaneous' started by dylan_frenette, May 15, 2012.

  1. would someone be willing to teach me how to code? i dont have skype so it might be hard but im up for it.
  2. Java aint a thing you will learn withing few hours. You need to put ALOT of time and afford into it.

    Oh, i'm not good at java myself :p
    Equinox_Boss likes this.
  3. I don't know java sadly. I've made a game (graphics are crap but gameplay is good)
    But not sure which type of coding i used.

    I could give u my game as an example of coding.
  4. Ok first lesson,
    system.print(Hello World)

    Something like taht;)
  5. lols. nice try.
    Equinox_Boss likes this.
  6. Im close right;)
  7. what do i download to do all this anyway? i just wanna know because i have this awesome idea for a mod :D
  8. Im a beginner.
    import java.util.*;
    public class Helloworld{
    public static void main(String[]Args){
    Scanner inputSc = new Scanner (System.in);
    System.out.println("Please enter a number");
    int i = inputSc.nextInt();
    System.out.println("Please enter another one ");
    int b = inputSc.nextInt();
    int c = i + b ;
    System.out.println("The answer is " + c );
    }
    }
    DOTD1997 likes this.
  9. Thats a addition calculator =D.
    Also you need a compiler
  10. You will need the JDK (Java Development Kit) and an IDE (Integrated Development Environment). I recommend Netbeans, which you can get bundled with the JDK here: http://www.oracle.com/technetwork/java/javase/downloads/jdk-7-netbeans-download-432126.html

    As for learning Java, just try looking through the tutorials provided by Oracle: http://docs.oracle.com/javase/tutorial/java/index.html. I find it's easier to learn going at your own pace, but don't get anxious and skip ahead, that's where you'll lose yourself and think it's harder than it really is.

    You need to understand the fundamental concepts of object-oriented programming before you try any coding.
  11. You make MODS by using MCP. MCP stands for Minecraft Coding Pack :p