Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is difference between equals and hashcode method?

0 Answers  


Is null an object java?

0 Answers  


What is float in java?

0 Answers  


What is the byte order of byte buffer?

0 Answers  


what is purpose of writting public static void main(Strind arg[]) in java..?

4 Answers   ITC Infotech,






When the constructor of a class is invoked?

0 Answers  


How can we run a java program without making any object?

0 Answers  


What are different data structures in java?

0 Answers  


What is the difference between static synchronize() metod and synchronize() method?

1 Answers   Polaris,


I have a String s = java; What is the output when I say s.replaceAll('j', 'k'); Also what is the value of s after replacing?

8 Answers   KPIT,


How is treeset implemented in java?

0 Answers  


Explain java coding standards for variables ?

0 Answers  


Categories