Ask a Question | Answer a Question! |
![](/img/l.gif)
Submitting your question...
ResFinder - Thousands of Practice Papers
Name a keyword that is used to include a class being written in a named package
(is this package?) |
![](//pl.respaper.com/64/akashskyash007.jpg) |
asked by Akash Ashok (akashskyash007) 7 years ago |
2 |
+ 1 more questions by akashskyash007
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 |
|
1) Class as an abstract data type. Explain.
2) Class as User defined data type. Explain.
3) Class as a composite data type.
and 4)Object as instance of class.
Please explain according to a 2 mark answer. Thanks:) |
![](//pl.respaper.com/64/arnavupadhyay04.jpg) |
asked by Arnav Upadhyay (arnavupadhyay04) 7 years ago |
1 |
can we use reverse function of string buffer to reverse the characters of string
do it include any extra steps |
![](//pl.respaper.com/64/aruntimmy10101111.jpg) |
asked by Aru.... (aruntimmy10101111) 7 years ago |
2 |
Write java statement
to invoke the parameterized constructor of pupil class by passing the values 4,5 and 6 |
![](//pl.respaper.com/64/olaf.jpg) |
asked by 45Trolaf (olaf) 7 years ago |
2 |
We have to create the main in function overloading program. Right? Cause i have seen many people on respaper telling that in function overloading programs we dont have to |
![](//pl.respaper.com/64/yash107.jpg) |
asked by Yash Baranwal (yash107) 7 years ago |
2 |
2 difference between for and whole loop |
![](//pl.respaper.com/64/catlover.jpg) |
asked by Catlover (catlover) 7 years ago |
1 |
whoeven has made his official return :) |
![](//pl.respaper.com/64/flarrowfan.jpg) |
asked by Gulyaeal (flarrowfan) 7 years ago |
6 |
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 |