take an array with -ve and +ve value both.find out the
nearest value of 0(zero).if two values are same like(-2 and
+2)then extract +2 is nearest of 0(zero).


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

How can you say HashMap is syncronized?

14 Answers   Arete, IBM,


What is the += operator called?

0 Answers  


What is the similarity between dynamic binding and linking?

0 Answers  


Are arrays classes in java?

0 Answers  


How many methods does cloneable interface contains?

6 Answers  


How will you serialize a singleton class without violating singleton pattern?

0 Answers  


How do you identify independent and dependent variables?

0 Answers  


what is predefined function in java?

0 Answers  


What is an empirical question?

0 Answers  


What are packages and name a few?

4 Answers  


What is json parser in java?

0 Answers  


What is the difference between heap and stack memory?

0 Answers  


Categories