+1 vote
in JAVA by
Write a program to do bubble sort on an array in java.

1 Answer

0 votes
by

What will this return 3*0.1 == 0.3? true or false?

This is one of the really tricky questions and can be answered only if your concepts are very clear. The short answer is false because some floating-point numbers can not be represented exactly.

...