Ask a Question | Answer a Question! |
![](/img/l.gif)
Submitting your question...
ResFinder - Thousands of Practice Papers
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;
} |
![](//pl.respaper.com/64/akashskyash007.jpg) |
asked by Akash Ashok (akashskyash007) 7 years ago |
3 |
A keyword which distinguishes between instance variables and class variables,wt is it?? |
![](//pl.respaper.com/64/sashimaithili.jpg) |
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.. |
![](//pl.respaper.com/64/nikithanikki.jpg) |
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. |
![](//pl.respaper.com/64/yash107.jpg) |
asked by Yash Baranwal (yash107) 7 years ago |
1 |
Predict the output:
String str="computer";
System.out.println(str.indexOf('i')); |
![](//pl.respaper.com/64/pranjali2806.jpg) |
asked by Pranjali Sharma (pranjali2806) 7 years ago |
4 |
can anyone upload any overloading program i mean any!!!
EMERGENCY |
![](//pl.respaper.com/64/iamakingrascal.jpg) |
asked by Sandeep M (iamakingrascal) 7 years ago |
1 |
Write java statement
To invoke the method caclulation by using actual parameter 20 and 30 of the object sum |
![](//pl.respaper.com/64/olaf.jpg) |
asked by 45Trolaf (olaf) 7 years ago |
4 |
Where can I find PE Papers with answers? |
![](//pl.respaper.com/64/unstunned.jpg) |
asked by Sumukh Kulkarni (unstunned) 7 years ago |
1 |