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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a parameter example?

736


What is sorting in java?

747


Explain listiterator and methods in listiterator?

772


Explain about join() method?

755


What is the purpose of an interface?

804


Explain notifyall() method of object class ?

875


Does sprintf add a null terminator?

845


What are the features of junit?

839


Are arrays dynamic in java?

794


Write a java program to check if a number is prime or not?

776


What is a platform?

749


Can we override private constructor in java?

735


Can private members of a base class are inheritable justify?

701


Does java arraylist maintain insertion order?

777


What are different types of inner classes ?

788