we have syntax like for(int var : arrayName)
this syntax is to find whether a number is in the array or
not.but i want to know how to find that number's location.


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

Post New Answer

More Core Java Interview Questions

What is difference between hashset and hashmap?

0 Answers  


What are invisible components?.

0 Answers  


What is JDK? Mention the variants of JDK?

1 Answers  


What is your platform?s default character encoding and how to know this?

0 Answers   TCS,


What is protected and friendly?

1 Answers  






State some situations where exceptions may arise in java?

0 Answers  


What are listeners in java and explain ?

2 Answers   TCS,


what is a package?

11 Answers  


What is application tier?

0 Answers  


What do you mean by Hash Map and Hash Table?

0 Answers   Atos Origin,


Difference between the paint() and repaint() methods?

1 Answers  


In treeset we add same object ...what will be the out put

3 Answers  


Categories