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

Is multiple inheritance allowed in Java? Why ?

7 Answers  


Is java a utf 8 string?

0 Answers  


Can we have a try block without catch block?

0 Answers  


WHAT IS MARKER INTERFACE,AND NO METHODS IS NOT THERE ON THAT INTERFACE THEN WHY WE USED IN JAVA?

3 Answers   L&T,


Are variables stored in ram?

0 Answers  






What is string variable?

0 Answers  


what is mean by synchronization?

3 Answers   BOB Technologies, GCPL,


What is difference between adapter class and listener?

0 Answers  


What was java originally called?

0 Answers  


why are there separate wait and sleep methods? : Java thread

0 Answers  


What is the difference between keyword and identifier?

0 Answers  


what is mean by ooad? where we are using? can you tell me any real time example?

1 Answers   Eka Software,


Categories