can we have function for truncating the sign as like abs in
oracle.



can we have function for truncating the sign as like abs in oracle...

Answer / deevan

abs(int) in java.lang.Math method would support as in
oracle. It supports for other datatypes like float,double
and long.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls

0 Answers  


What is the set interface in java programming?

0 Answers  


How many bytes is 255 characters?

0 Answers  


What is assembly used for?

0 Answers  


What happens if I remove static from main method?

0 Answers  






Why is whitespace important?

0 Answers  


What is object-oriented paradigm?

0 Answers  


What is a arraylist in java?

0 Answers  


What is the map interface in java programming?

0 Answers  


How are java objects passed to a method and what are native methods?

0 Answers   Genpact,


v-model life cycle

0 Answers   Virtusa,


What happens if an exception is not caught?

6 Answers   Amazon,


Categories