How many times does the loop iterate? int x,n=10; for(x=1;x<=n;x*=2) { x++; n- =2; System.out.print(n); System. out.println(x); } Please xplain clearly. |
|
asked by Anvesha Tripathi (anvesha30) 8 years ago | |
1 |
Any tricks for computer exam |
|
asked by Kavya Sekhar (aswmgirl17) 8 years ago | |
1 | |
Can someone explain how to use scanner ? |
|
asked by Naman (i2c0s1e6) 8 years ago | |
3 |
Can arrays be initialized before declaring them? Give an example. |
|
asked by Saahil Sankar B (bestintheworld) 8 years ago | |
1 | |
I have got some good questions for you guys. 1) name the keyword used to stop inheritance. 2) name the keyword for implementing interfaces. 3) give an example of run time polymorphism. 4) name the main class containing exceptions. 5) give output: int i=0; if(false & ++i<100); System.out.println(i); If(false&&++i<100); System.out.println(i); |
|
asked by Dwaipayan Ray (dwaipayanray1) 8 years ago | |
3 |
find c x=0 , y=10.25 , z=-5 c=x+y*z/2.5 |
|
asked by Aditya Reddy (aditya_reddy) 8 years ago | |
3 | |
I know what comments and variable descriotion tables are...what are mnemonics? And do we do one of these for each program or all three |
|
asked by Aditya Singhal (adityaarunsinghal) 8 years ago | |
2 |
Please explain clearly the differnce between Math.rint() and math.round() giving examples.Please be sure of your answer(as told by any teacher or in your course book and not kindly just not your suggestions) |
|
asked by Anvesha Mishra (learner67) 8 years ago | |
2 |
What is the range of values for ascii? |
|
asked by Apoorva Awasthy (me222) 8 years ago | |
2 |
any environmental application student! pls upload the website for notes! |
|
asked by Abhinav Kumar (abhinavkmr569) 8 years ago | |
0 |
Page 472 |
ICSE chat