is the language used in JavaFx same as the language that we use in java programming?

anyone can show me a sample Java fx 8->