What is the output of the following code snippets?
3 double d = 1.0;
4 switch((int)d) {
5 case 1: System.out.println("one"); break;
6 case 2: System.out.println("two"); break;
7 case 3: System.out.println("three"); break;
8 }
one