This video demonstrates how to set the code preference to Java.This will be useful, because then your code will match the videos.