Ask a Question | Answer a Question! |

Submitting your question...
ResFinder - Thousands of Practice Papers
https://souvikdast.wordpress.com/ .
Very nice website for programs! :) |
 |
asked by Bhavana (mpc123) 8 years ago |
0 |
--====----HELP----===-- .
Explain the term "Bytecode" in context with Java compilation. |
 |
asked by Akash Divakar (akashdivakar) 8 years ago |
2 |
Branching Control statements are if or switch????
And what about Selection control ?? |
 |
asked by The Dark Lord (shashank44thool) 8 years ago |
1 |
I have written a program to find check for a prime no. and to print a pattern. Its a menu driven program.
I have taken input using scanner but in the main() method when I accept string using next () then it runs but when I use nextLine()then it fails to accept the string.look for program in comments |
 |
asked by Arpit Srivastava (arpit18) 8 years ago |
3 |
can someone explain the function of valueOf() and why it is a static method?? |
 |
asked by Sarashika (saika) 8 years ago |
4 |
Can anybody explain me the general idea of the question of how many times will the loop execute. |
 |
asked by Anubhav Verma (gforce777) 8 years ago |
4 |
program to find the sum of prime num , please correct my mistake in this !!!
public class p
{
public static void main (String args [])
{
int i , a=0,j,b=0;
for (j=2;j<=100;j++)
{
for(i=1;i<=j;i++)
{
if(j%i==0)
b=b+1;
}
if(b<=2)
a=a+j;
}
System.out.print(a);
}
} More... |
 |
asked by Hareesh Ramakrishnan (hareesh0922) 8 years ago |
2 |
question in link
http://www.respaper.com/sarthakb/5348-pdf.html Question 8
its difficult giving lots of errors |
 |
asked by Adithya Kannan (adiketh198) 8 years ago |
2 |
+ 2 more questions by adiketh198
//this is my program to reverse the case of characters i.e. lower case to upper case and uppercase to lowercase in a string what is the error plz tell me
import java.util.*;
public class tnaminatina
{
public void check()
{String a="",b="";
Scanner sc=new Scanner(System.in);
System.out.println("enter sentence");
String s=sc.next();
System.out.println("enter sentence");
String g=sc.next();
System.out.println("enter sentence");
String d=sc.next();
a=s.concat(g);
b=a.concat(d);
System.out.println(b);
b=b.toUpperCase();
System.out.println(b);
b=b.trim();
for(int i=0;i96&&b.charAt(i)<=122)
c=(char)b.charAt(i)+32;
else
if(b.charAt(i)>64&&b.charAt(i)<=90)
c=(char)b.charAt(i)-32;
}
System.out.println(b);
}
} |
 |
asked by Adithya Kannan (adiketh198) 8 years ago |
1 |
|
where can i find predict the output questions on the net? |
 |
asked by Thulluminati (asthetic31) 8 years ago |
1 |