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

https://darkhers.blogspot.com

YouTube

https://youtube.com/@darkhers

Instagram

https://instagram.com/darkhers

Facebook

https://www.facebook.com/darkhers

TikTok

https://www.tiktok.com/@darkhers

Pinterest

https://www.pinterest.co.uk/darkhers

Twitter

https://twitter.com/Dark_Hers

Comments

Popular Posts