Untitled

Run Settings
LanguageJava
Language Version
Run Command
public class ReturnTypes{ public static void main(String[] args) { //create a class instance ReturnTypes rt = new ReturnTypes(); //call your method here rt.returnNothing(); //call the other method here boolean b = rt.returnBoolean(); System.out.println("The value of b is: " + b); } //THIS CURLY BRAKET MUST BE HERE TO END PUBLIC STATIC VOID MAIN //create your first method here - OUTSIDE public static void main public void returnNothing(){ System.out.println("Inside of a void method"); } //create your second method here that returns a boolean public boolean returnBoolean(){ return true; } }
Editor Settings
Theme
Key bindings
Full width
Lines