What will be output by the following line?
System.out.println(Math.floor(
1) -2
2) 2.0
3) -3
4) -3.0
Answer :
4) -3.0
Java 1.2 course notes and work plan edited from several sources. This is a work in process and is constantly being refined, though may not be updated to the latest Java releases. Included is a collection of Java certification practise questions and answers.
No comments:
Post a Comment