Skip to content

Instantly share code, notes, and snippets.

@stephanBerger
Created August 30, 2019 08:47
Show Gist options
  • Save stephanBerger/7e434300e24fcd7e6fdefaac46f4d3ca to your computer and use it in GitHub Desktop.
Save stephanBerger/7e434300e24fcd7e6fdefaac46f4d3ca to your computer and use it in GitHub Desktop.
Java 03 : Variables
class IndianaJones {
public static void main(String... args) {
String movieTitle = "Indiana Jones and the Last Crusade";
boolean isSeen = true;
int releaseYear = 1989;
float userRatings = 8.2f;
System.out.println(movieTitle);
System.out.println(isSeen);
System.out.println(releaseYear);
System.out.println(userRatings);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment