Java programming
30.6K subscribers
131 photos
12 files
20 links
Download Telegram
public class Madam
{
public static void main(String[] args) { int a = 5; System.out.println(cube(a)); } static int cube(int theNum) { return theNum * theNum * theNum; } }
Anonymous Poll
51%
125
27%
Compilation Error because cube is already defined in the java.lang.Math class.
12%
Throws an ArithmeticException.
10%
Compilation Error or Runtime Error for some other reason.
don forget to subscribe.
there are upcoming tutorials. just follow me guys.
You need to subscribe, in order to get notification for the next tutorials. and do comment if you have any suggession.
java netbeans tutorial 4
Don't forget to like, share and subscribe
The account of the user that owns this channel has been inactive for the last 11 months. If it remains inactive in the next 9 days, that account will self-destruct and this channel may no longer have an owner.