(int)Math.random()*10 returns zero

ساخت وبلاگ

Vote count: 0

This is very simple thing but still I am not able to figure out why line A produces output 0 and line B produces a random number(zero or non-zero)

public static void main(String [] args) { int [] intArr = new int[10]; for(int i=0; i

It could be simple. Feeling lost !

asked 49 secs ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 374 تاريخ : چهارشنبه 25 اسفند 1395 ساعت: 1:17