Ask a Question | Answer a Question! |
Submitting your question...
ResFinder - Thousands of Practice Papers
CODERS .....WIsh you luck today.........paper's going to be favourable to everyone .....So chill.........All the best coders and take your hands off the paper immediately after Exam coz dont miss such moments....... #AAJ HOGA PARTY PARTY |
|
asked by MP Harsha (student58) 8 years ago |
3 |
Say what you want, yesterday's match was fixed and that is a fact |
|
asked by Saahil Sankar B (bestintheworld) 8 years ago |
4 |
All the best people! Last Wicket waiting!! Just win it 😉 |
|
asked by Harshi baby (gunareddy) 8 years ago |
1 |
guys all the best and lets discuss the paper after the exam |
|
asked by Bhavesh Choudhari (bhavesh988) 8 years ago |
1 |
atb every1 write well :v |
|
asked by Aavesh Kumar (aavesh) 8 years ago |
1 |
+ 4 more questions by aavesh
Can program based on exception handling come ? |
|
asked by Aavesh Kumar (aavesh) 8 years ago |
1 |
If Anybody has got the q.p of 2day's exam pl. share it :D :P |
|
asked by Aavesh Kumar (aavesh) 8 years ago |
1 |
What's copy constructor ? |
|
asked by Aavesh Kumar (aavesh) 8 years ago |
1 |
Plz point out my mistake in the prog.:
import java.io.*;
class FruitJuice
{
int product_code,pack_size,product_price;
String flavour,pac_type;
FruitJuice()
{
product_code=0;
pack_size=0;
product_price=0;
flavour="";
pac_type="";
}
void input()throws IOException
{
BufferedReader inp=new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter pcode psize pprice flavour pactype");
product_code=Integer.parseInt(inp.readLine());
pack_size=Integer.parseInt(inp.readLine());
product_price=Integer.parseInt(inp.readLine());
flavour=inp.readLine();
pac_type=inp.readLine();
}
void discount()
{
product_price=product_price-10;
}
void display()
{
System.out.println("P code="+product_code);
System.out.println("P size="+pack_size);
System.out.println("P price="+product_price);
System.out.println("Flavour="+flavour);
System.out.println("P type="+pac_type);
}
public static void main(String args[])
{
FruitJuice ob=new FruitJuice();
ob.input();
ob.discount();
ob.display();
}
} |
|
asked by Aavesh Kumar (aavesh) 8 years ago |
1 |
Why is an object called instance of a class |
|
asked by Pj Pj (pj2000) 8 years ago |
2 | + 2 more questions by pj2000
Ok guys if no break statement is put in cases in switch so why does it go inside the case and execute it...I mean if the case is not matching even after mAtching case why will it print the following cases??? |
|
asked by Pj Pj (pj2000) 8 years ago |
1 |
Dif between compiler and interpretor |
|
asked by Pj Pj (pj2000) 8 years ago |
1 |
WAP to check if a number is Smith's number or not...A Smith number is a composite number, the sum of whose digits is the sum of the digits of its prime factors obtained as a result of prime factorization (excluding 1). |
|
asked by Ishanuj Hazarika (ishanuj99) 8 years ago |
2 |
The function of try block and catch block
Please answer fast |
|
asked by Ankit kumar (yobro99) 8 years ago |
1 |
Are double dimension arrays in scope? |
|
asked by Abhishek Agrawal (agrek) 8 years ago |
1 |
| |