public class Dog {
// Do stuff here.
// By they way, putting "//" before something makes the program ignore that particular line. Its called a "comment"
}
public class Dog {
voice bark() {
}
}
public class Dog {
void bark {
statement1;
statement2;
}
}
public static void main (String[] args) {
// Put your code here
}
public class MyFirstApp {
public static void main (String[] args) {
System.out.print("I rule!");
}
}
!public class MyFirstApp {
public static void main (String[] args) {
System.out.print("Bad convention");
}
}
public class MyFirstApp {
public static void main (String[] args) {
System.out.print("Good convention");
}
}