return Keyword in Java
In Java if a method wants to return anything then it makes use of return keyword. Let us see important points about it : return keyword can be used return objects, primitive types and expression. We need to specify return type in method signature. It can also be used to return null keyword. In this … Read more