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

Can a class have more than one object?

0 Answers  


What are the types of java languages?

0 Answers  


What are the types of strings?

0 Answers  


What is the use of a copy constructor?

0 Answers   Flextronics,


What does a za z0 9 mean?

0 Answers  






What does g mean in regex?

0 Answers  


Can we override constructor in java?

0 Answers  


when there is a need of jvm then how we can say that java is a platform independent language?

3 Answers  


What is a J2EE component? List out all the component?

2 Answers   Adobe,


Can static methods access instance variables in java?

0 Answers  


why the abstract class has default constructor?

2 Answers  


Can we sort array in java?

0 Answers  


Categories