//First of all java.lang.Math class is choosen
Menu.chooser();
class mae.sss.Chooser
Chooser.systemClass();
class java.lang.Math
//Round 10.2
//+Rounding down to 10
Math.round(10.2); //--> 10
//Round 10.6
//+Rounding up to 11
Math.round(10.6); //--> 11
//Find the greater number
//+22 is greater than 11
Math.max(11, 22); //--> 22
//Find the greater number
//+5 is greater than 3
Math.max(5, 3); //--> 5
//Find the lower number
//+13 is lower than 15
Math.min(15, 13); //--> 13
//Find the lower number
//+111 is lower than 112
Math.min(111, 112); //--> 111
//Give me a random double
Math.random(); //--> 0.734508294625869
//Give me a random double
Math.random(); //--> 0.7040624998004883
//What is the square root of 4
//Squre root of 4 is 2
Math.sqrt(4.0); //--> 2.0
//What is the square root of 3
//Squre root of 9 is 3
Math.sqrt(9.0); //--> 3.0
//Thats all
Date: Mon, 9 Mar 2009 20:30:01 +0200
Subject: [MIS 540] WS2. java.util.Set
From:
ey...@eng.marmara.edu.trTo:
mis...@googlegroups.com