Tej Vattel

Greenhorn
+ Follow
since Apr 16, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tej Vattel

Just don't get TOO confident with 75%. I failed the exam with mock scores like that. I think I got a 49. I totally blew garbage collection. I was also expecting most of the exact questions that I took in mock exams to be in the real exam. bad idea
I know everyone disagreed with B. But I spent all this time straining my brain has to how that could be true. I'm not sure I TOTALLY know what a Wrapper class is but I think Float is an example of one.



class round{
public static void main(String[] argv){
System.out.println("" + Math.round(-2.9));
System.out.println("" + -2.9 + 0.5 );
System.out.println("" + Math.round(-2.9 + 0.5));

}
}

Gives you the output ...
-3
-2.90.5
-2

Hopefully you can figure it out from here ...