Java Reference
In-Depth Information
System.out.print (““ );
}
}
}
Return
It is used to return from a method and It is a transfer back calling of the method.
For example
Class return {
Public static void main (string args [])
{
Boolean t = true;
System.out.println (“return”);
If (t) return;
System.out.println (“this won't work”);
}
}
Search WWH ::




Custom Search