Im just starting java, and i wrote this impossibly basic script that i managed to mess up, plz help me


#1

public class heyoo{
public static void main(String args[]) {
System.out.println(“hello youitube”);
}

}


#2

public class heyoo {
public static void main(String[] args) {
System.out.println(“hello youitube”);
}

}

you shoud put the right brachets after string not after args :smiley:


#3

hey there. I think this is an old notation that you’re using. I’ve seen this in some old Java books. So your code is correct, but not in use anymore. Keep up the good work! :slight_smile:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.