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

How to validate the request (Eg:user name and password) in session(http session)? not in LDAP server ?

1 Answers   Saksoft,


When can you say a graph to be a tree?

0 Answers   Amazon,


What is the static method?

0 Answers  


What JNDI(Java Naming and Directory Interface) provides?

4 Answers  


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

0 Answers  


i would like to attend for an interview of datalab technologies company i want to know the pattern of imnterview.

0 Answers  


Explain wrapper classes in java?

0 Answers  


What is the numeric promotion?

0 Answers  


how can we use the servlet as standalone apllication?should we need to extend any class?

2 Answers   Logica CMG,


How many arguments can be passed to main ()?

0 Answers  


What does nullpointerexception mean?

0 Answers  


Explain how hashmap works?

0 Answers  


Categories