Pokemon Server Archive

PvP Server => Plugins => Topic started by: Prodigy39 on May 29, 2012, 05:36:45 pm

Title: What Prod Has Done:
Post by: Prodigy39 on May 29, 2012, 05:36:45 pm
Code: [Select]

public class HelloWorld {


/**
* @param args
*/
public static void main(String[] args) {
System.out.println("Hello world!");


}


}








Also, how do I get back to the tutorial screen to start my next one?
Title: Re: What Prod Has Done:
Post by: Paradox on May 29, 2012, 05:43:10 pm
Did you copy that code? Because it seems weird that you would comment the fact that the main method requires args as a paremeter, it's pretty damn obvious since it's a the main method, lmao. You don't need to go back to the tutorial, just make a new project.
Title: Re: What Prod Has Done:
Post by: Prodigy39 on May 29, 2012, 05:44:53 pm
I need to know the next tutorial xD I'm completly clueless on coding exepept how to make it and that you can type anything in the:
Code: [Select]
/*
*
*/
Title: Re: What Prod Has Done:
Post by: Paradox on May 29, 2012, 05:58:00 pm
That's called a comment. And in the comment you denoted what I said in my previous post. Which leads me to believe you copied that code. What tutorial are you using exactly?
Title: Re: What Prod Has Done:
Post by: Prodigy39 on May 29, 2012, 06:04:27 pm
How to create a Java Applacation, Hello World! or something like that. Liquid told me to do it to try and learn.