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 |
If I only change the return type, does the method become overloaded?
Explain wrapper classes in java?
Which sorting is used in arrays sort in java?
what is difference between set and list in collection?
What is the use of math abs in java?
How will you initialize an Applet?
Why is whitespace important?
What is access modifiers?
What is the difference between hashset and treeset in java?
Why javac is not recognized?
What classes of exceptions may be thrown by a throw statement?
What is the use of flag?