How is rounding performed under integer division?
Answers were Sorted based on User's Feedback
Answer / divya
the fractional part of the result is truncated .this is
known as rounding toward zero.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / satya
We can use java.lang.Math.ceil() and java.lang.Math.floor()
methodes in order for rounding numbers.
| Is This Answer Correct ? | 1 Yes | 1 No |
Can we serialize singleton class?
what is the use of clone() in real time scenario?
How dead lock situation occurs in java and how you can identify it?
"We cannot create an object of interface but we can create a variable of it". Discuss the statement with the help of an example. (Plz help us to provide immediately.)
What is the difference between preemptive scheduling and time slicing?
What is the meaning of flag day?
What is string made of?
what is default layout of JFrame class?
How two different class threads communicate with each other?. send example code.
What is a method in programming?
How are commas used in the initialization and iteration parts of a for statement?
Explain numeric promotion?