More videos coming soon, please SUBSCRIBE!
A void method simply performs a task and terminates
For example: System.out.println(“Hello world”);
A value-returning method performs a task and then also returns (or sends) a value back to the code where it was called
For Example: int answer = Math.pow(2,3);
Please SUBSCRIBE to Appficial, and check out more Java Programming Tutorials! http://www.appficial.com
Java Methods Intro
• Java Methods - Intro to Creating a Method ...
Java Method Modifiers
• Java Method Modifiers - Public vs Private ...
Java Void Methods VS. Value Returning Methods
• Java Void Methods VS. Value Returning Meth...