There are shortcuts for repetitions which indeed are very important when we go to work. I was asked to give examples in job interview. For example when type a system.out.println: type syso and press Ctrl+Space from the keyboard. (check on youtube/google for more shortcuts). Also we have cheat sheets: in Eclipse, go to Help->Cheat Sheet. There you can find an option "select a sheet from a file" or type the url of the sheet. Maybe you can load sheets with pre-typed code that you wrote before.You already have the "Hello, world" example there.
It looks like you're new here. If you want to get involved, click one of these buttons!