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
Can a class have multiple superclasses?
What is string length in java?
What is difference between add() and addelement() in vector?
Explain the use of sublass in a java program?
Define inheritance?
How do you calculate square roots?
What are loops in java? What are three types of loops?
What is a stack class in java ?
What is internal iteration in java se 8?
What are the different approaches to implement a function to generate a random number?
How do you check if a number is a perfect square?
if u open login & logout ,how can udisplay the timelogin & logout members ?
What is difference between final and finally in java?
What is the purpose of an interface?
How can you avoid serialization in child class if the base class is implementing the serializable interface?