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

Explain about the interpreter in java?

0 Answers  


what is the replacement for GOTO in java?

2 Answers   CTS,


What is the static block?

0 Answers  


What is bytecode verifier?

0 Answers  


Are functions objects in java?

0 Answers  


What is a super class and how super class be called?

3 Answers  


What is compile time polymorphism?

20 Answers   CTS, Elementus Technologies, Oracle,


Accenture NJ mostly ask question on Collection like 1)How to sort Objcts and how treeset sort them 2)Explain mechanism of Hashcode finding in Java 3)Name some of the Sorted collection.

2 Answers   Accenture,


Which method will get invoked first in a stand alone application?

1 Answers  


How many methods does cloneable interface contains?

6 Answers  


What is toarray method in java?

0 Answers  


can you create interface instance ?

54 Answers   Fidelity, TCS,


Categories