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

how come we know the object is no more used in the class?

2 Answers   Accenture,


java is pure object-oriented programming language?why it is platform independent.

1 Answers  


What is the function of java?

0 Answers  


what is difference between servletconfig and servletcontext?

3 Answers   Amdocs,


What is ternary operator? Give an example.

0 Answers  


Is intellij better than eclipse?

0 Answers  


How do you empty a list in java?

0 Answers  


what is the difference between String s="hello"; and String s=new String("hello");?

3 Answers  


Can a class extend more than one class?

0 Answers  


tell me some common

2 Answers   TCS,


How do you check if an arraylist is not empty?

0 Answers  


Why stringbuilder is not thread safe?

0 Answers  


Categories