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

What is the disadvantage of synchronization?

0 Answers  


What does it mean that strings are immutable?

0 Answers  


How many decimal digits is 64 bit?

0 Answers  


What is the meaning of variables in research?

0 Answers  


Is void a return type?

0 Answers  


Are arrays immutable in java?

0 Answers  


we have two threads..both the threads are reading the data.. is there any need of synchronization there?...justify it?

4 Answers   IBM,


What are facelets templates?

0 Answers  


What are static blocks and static initalizers in java ?

0 Answers  


How can we achieve thread safety in java?

0 Answers  


Why a dead thread occurs?

0 Answers  


How do you square a number?

0 Answers  


Categories