Return Keyword in Java
Return Keyword in Java:
Return Keyword in Java #DarkHers #darkhers #program #coding #code #java #bhfyp #youtubeshorts - YouTube ________________________________________________
package Test;
public class ReturnKeyword
{
static int num(int x)
{
return 6+x;
}
public static void main(String[] args)
{
System.out.println(num(10));
}
}
________________________________________________
Dark Hers
YouTube
https://instagram.com/darkhers
https://www.facebook.com/darkhers
TikTok
https://www.tiktok.com/@darkhers
https://www.pinterest.co.uk/darkhers
Comments
Post a Comment