TWO TRICKY OBSERVATION QUESTIONS( *TOOK ME HALF AN HOUR :)*): 1)int x=0,y=0; for (x=1,x<=6;x+=3) for (int y=15;y>1;y-=x*7) System . out . println(y-x); System . out . println(y); 2)What will be the contents of the array assuming that the inputs are 6,5,9,2: boolean ans[]=new boolean[4];int pnumb=0; System . out . println("Enter 5 integers:"); for (int i=0;i<5;i++) { numb=scan.nextInt(); if (i!=0)ans[i]=pnumb>numb; pnumb=numb; } |
|
asked by Akash Ashok (akashskyash007) 7 years ago | |
3 |
A keyword which distinguishes between instance variables and class variables,wt is it?? |
|
asked by Mythili Podapati (sashimaithili) 7 years ago | |
5 |
name the function that accepts the character from the keyboard.....can anyone plz tell this ans.. |
|
asked by Nikitha Maramraj (nikithanikki) 7 years ago | |
1 |
In class and object program, can we use static keyword for making the variables global and make the member functioms also static. |
|
asked by Yash Baranwal (yash107) 7 years ago | |
1 |
!!!!!!!!-----------IF ANYONE HAS ANY DOUBT IN ANY PROGRAM OR CONCEPT FEEL FREE TO MESSAGE ME----------!!!!!!!!! |
|
asked by Satendra singh (skshooda) 7 years ago | |
2 | |
Predict the output: String str="computer"; System.out.println(str.indexOf('i')); |
|
asked by Pranjali Sharma (pranjali2806) 7 years ago | |
4 |
can anyone upload any overloading program i mean any!!! EMERGENCY |
|
asked by Sandeep M (iamakingrascal) 7 years ago | |
1 |
Are these notes enough for theory?http://www.respaper.com/amolbohora/9721-pdf.html |
|
asked by Hansit Varshney (hansitvarshney) 7 years ago | |
1 |
Write java statement To invoke the method caclulation by using actual parameter 20 and 30 of the object sum |
|
asked by 45Trolaf (olaf) 7 years ago | |
4 |
Where can I find PE Papers with answers? |
|
asked by Sumukh Kulkarni (unstunned) 7 years ago | |
1 |
Page 275 |
ICSE chat