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 the this keyword?

772


Explain covariant method overriding in java.

782


How thread scheduler schedule the task?

814


Can we create object of static class?

750


Is string pool garbage collected?

764


How many types of literals are there in JAVA?

787


When does an object becomes eligible for garbage collection in java?

813


What is string builder?

654


What are methods in java?

745


Does java set allow duplicates?

777


What exactly is java?

705


What classes of exceptions may be caught by a catch clause in java programming?

930


What’s the difference between the methods sleep() and wait()?

770


Is alive method in java?

727


What is array class in java?

799