Infinite loop using while ?
Answers were Sorted based on User's Feedback
Answer / nav dev
boolean a=true;
while(a)
{
//here a should be boolean type
System.out.println(a);
}
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sanjay singh bisht
while(true)
{
System.out.println("sanju baba");
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / nitin
int a=5;
while(a)
{
System.out.println(a);
}
or
while(true)
{
System.out.println("true");
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sukale shobha balshiram
int a=0;
while(a+1)
{
System.out.println(a);
}
| Is This Answer Correct ? | 4 Yes | 4 No |
whether java is fully object oriented language or partially object oriented language
What is the differnence between String Buffer and String builder despite having knowledge that String builder is faster than String Buffer and last one is threadsafe.please tell another important difference.
Explain the meaning of java applet.
Explain how can you debug the Java code?
What is numel matlab?
What is an Applet ?
What is array sorting in java?
Explain about public and private access specifiers?
When do we use synchronized blocks and advantages of using synchronized blocks?
what methods would you overwrite in java.lang.object class?
Is string serializable in java?
What initialize variables?