You have to create a new class in your project and then type that code into the editor. It won't already be there, you have to type it in.
+1 on not using the eclipse tutorial to learn java. Go to www.javaranch.com. A lot of good info on there to help you get started learning about it.