What is an infinite loop in java? Explain with an example.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

How can we achieve thread safety in java?

0 Answers  


How many types of thread in java? give the name

13 Answers   Cisco, NIIT,


Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target

7 Answers   Infosys, WW,


What is bytecode in java ?

0 Answers  


In method overloading ,if i change the return type to Long instead of INT,is the program execute

6 Answers   HCL,






I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do?

3 Answers   KPIT,


what is collections in java?

4 Answers  


what is the main class of all the classes

5 Answers   Photon,


What are the advantages of passing this into a method instead of the current class object itself?

0 Answers  


Define how does a try statement determine which catch clause should be used to handle an exception?

0 Answers  


Why is stringbuffer not immutable?

0 Answers  


What checkbox method allows you to tell if a checkbox is checked?

0 Answers  


Categories