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

jdbc drivers?

8 Answers   Wipro,


Is java based on c?

0 Answers  


What is a subsequence of a string?

0 Answers  


What does java se mean?

0 Answers  


What is the name of the java compiler?

0 Answers  






Difference between a Canvas and a Scroll Pane?.

1 Answers   NIIT,


How to sort double array in java?

0 Answers  


what is business objects?

2 Answers  


How can you reverse a string?

8 Answers  


What are the two categories of data types in the java programming language?

0 Answers  


long d =10;int i =0;i=d; /// is this possible? If d is very long number (10 digits or some thing) then?

3 Answers  


Which class is the superclass of all classes?

0 Answers  


Categories