Which Math method is used to calculate the absolute value of
a number?
Answer Posted / devarathnam c,kotagudibanda(po
Hi...
You can use Math.abs(); method .This is static method
defined in the Math class.
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is java ceil?
What is Java Annotations?
Why map is used in java?
Explain abstract class in java?
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green White will have 1 Weight. Red and Green carry no weights. Shortest path is the path with less weight when you add up the weights in the path.
What is busy spin, and why should you use it?
Explain the use of shift operator in java. Can you give some examples?
What is the internal implementation of set in java?
Why is java so popular?
Why constructor has no return type?
What is the difference between a field variable and a local variable?
What is bifunction in java?
Explain with example the concept of constant variable in java.
Can we define package statement after import statement in java?
why Java does not support multiple inheritances?