Go to w3schools.com
Close the exercise
More JAVA Exercises
Close menu
Go to w3schools.com
Sign in to track your progress
×
Sign in

JAVA Exercises

Syntax7 q
Output Text5 q
Output Numbers7 q
Comments5 q
Variables6 q
Print Variables8 q
Multiple Variables4 q
Variable Names5 q
Data Types6 q
Numbers7 q
Boolean Types5 q
Characters7 q
Type Casting7 q
Operators7 q
Strings8 q
String Concatenation5 q
Strings and Numbers5 q
Special Characters4 q
Math7 q
Booleans6 q
If6 q
If Else4 q
Else If3 q
Short Hand If Else5 q
Switch5 q
While Loops5 q
Do While Loops3 q
For Loops4 q
Nested Loops3 q
For-Each Loops3 q
Break and Continue4 q
Arrays5 q
Arrays and Loops3 q
Multidimensional Arrays4 q
Methods4 q
Method Parameters4 q
Return Values4 q
Method Overloading3 q
Scope3 q
Recursion3 q
OOP3 q
Classes/Objects5 q
Class Attributes4 q
Class Methods3 q
Constructors4 q
Modifiers3 q
Encapsulation3 q
Packages3 q
Inheritance3 q
Polymorphism3 q
Inner Classes4 q
Abstraction3 q
Interface5 q
Enums3 q
User Input4 q
Date3 q
Exceptions4 q
Files3 q
Create and Write to Files3 q
Read Files3 q
Delete Files3 q
ArrayList6 q
LinkedList4 q
List Sorting3 q
HashSet4 q
HashMap4 q
Iterator4 q
Wrapper Classes4 q
Regular Expressions5 q
Threads3 q
Lambda Expressions4 q
Advanced Sorting3 q


by w3schools.com











Exercise: JAVA Return Values





Wrong Answer!













Completed

You have already completed these exercises!

Do you want to take them again?










×
Close the exercise

Congratulations!


You completed the JAVA Return Values Exercises from W3Schools.com



Share on:






Which keyword indicates that a method should not return a value?