Ask a Question | Answer a Question! |
Submitting your question...
ResFinder - Thousands of Practice Papers
static char i;
static void sum()
{
System.out.print(i);
}
We all knew the default value of char as our text said it should be null or \u0000 ....but when i declared it it aint giving me any output.....Terminal window is absolutely blank...Just check it out plz..........when char is getting replaced with short or double or int then there is valid output..........If char is getting replaced with string then ans is null |
|
asked by MP Harsha (student58) 8 years ago |
3 |
Can some1 pl. explain continue using an example |
|
asked by Aavesh Kumar (aavesh) 8 years ago |
1 |
System.out.print((false)?'a':66); // how is it printing B and not 66? can anybody explain... |
|
asked by Ishanuj Hazarika (ishanuj99) 8 years ago |
2 |
If anyone gets a different n twisted prpgram plz share.. |
|
asked by Game R (future_engg) 8 years ago |
0 |
what does library function valueOf() mean |
|
asked by Adithya Kannan (adiketh198) 8 years ago |
1 |
+ 1 more questions by adiketh198
//complete program
import java.util.*;
public class tnaminatina
{Scanner sc=new Scanner(System.in);
public void check()
{String a="",b="",w="";
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);
for(int i=0;i |
|
asked by Adithya Kannan (adiketh198) 8 years ago |
2 |
|
please answer the question in the comment |
|
asked by Anu krishna (anukrishna) 8 years ago |
3 |
please tell me the logic behind the series 1, 11, 111, 1111 , n terms
PS : I don't need the whole program |
|
asked by Bhavana (mpc123) 8 years ago |
1 |
Who all think that INDIA will win today against Australia |
|
asked by Death Eater (parth2018) 8 years ago |
2 |