Ask a Question  | Answer a Question!  | 

 Submitting your question... 
 
 
ResFinder - Thousands of Practice Papers
What is the value of (1/0.0) - (1/-0.0)??  | 
  | 
| asked by Christiano Ronaldo
 (ronadochristianocr47) 9 years ago  | 
2  | 
https://souvikdast.wordpress.com/ .
Very nice website for programs! :)  | 
  | 
| asked by Bhavana (mpc123) 9 years ago  | 
0  | 
--====----HELP----===-- .
Explain the term "Bytecode" in context with Java compilation.  | 
  | 
| asked by Akash Divakar (akashdivakar) 9 years ago  | 
2  | 
Branching Control statements are if or switch????
And what about Selection control ??  | 
  | 
| asked by The Dark Lord (shashank44thool) 9 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) 9 years ago  | 
3  | 
can someone explain the function of valueOf() and why it is a static method??  | 
  | 
| asked by Sarashika (saika) 9 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) 9 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);
}
} | 
  | 
| asked by Hareesh Ramakrishnan (hareesh0922) 9 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) 9 years ago  | 
2  | 
 + 1 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) 9 years ago  |  
1  |  
  | 
Kindly provide working and answer of the question in the comments section.  | 
  | 
| asked by Anvesha Mishra (learner67) 9 years ago  | 
2  |