repl.it
@Brawn/

Writing Methods

Java

No description

fork
loading
Files
  • Main.java
Main.java
1
2
3
4
5
6
7
8
9
public class Main {
 	public static void main(String[] args) {
		int age = getAge();
		System.out,print
	}
  	public static int getAge() {
		return 15;
	}
}
?