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
What is serial version uid and its importance in java?
Difference between interface and abstract class with ex.
4 Answers Cognizant, Tech Mahindra,
Can an interface be final?
What is derived datatype?
what is ennumaration?
what is the use of finalize()Method please explain with an example
What is the simpletimezone class in java programming?
What is console based application in java?
What is a war file?
Name the method that is used to set a TextComponent to the read-only state?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
what is wrapper class and its uses?