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

Where is java located?

0 Answers  


What is meant by class and object in java?

0 Answers  


In a container there are 5 components. I want to display the all the components names, how will you do that one?

0 Answers  


What is a java predicate?

0 Answers  


What is meant by javabeans?

0 Answers  






What is abstract class? Explain

0 Answers  


Are arrays immutable in java?

0 Answers  


What are the restrictions imposed on method overriding?

0 Answers  


How will you override default serialization mechanism in java

2 Answers  


What is a class variable?

0 Answers  


What are the main differences between the java platform and other platforms?

0 Answers  


What are the basic interfaces of java collections framework?

0 Answers  


Categories