bootcamper bootcamper SetUp Docs Reps Blog
bootcamper bootcamper

U2L08 - no drill

This lesson has no accompanying unit test drills as it is explicitly about running a program from a main method.

You should be manually tested after U3L05 by a foundations instructor.

Instructor Administered Test

This tests everything from U2L01 to and including U2L08

  • Create a new project
  • Create a new package
  • Create a new class with a new public static void main method
  • declare and assign a new int variable
  • System.out.println the int variable
  • declare and assign a new long variable
  • System.out.println the long variable
  • declare and assign a new double variable
  • System.out.println the double variable
  • declare and assign a new boolean variable
  • System.out.println the boolean variable
  • declare and assign a new String variable
  • System.out.println the String variable
  • declare and assign a variable representing the largest int valuable possible
  • System.out.println that variable
  • declare and assign a variable representing the smallest double valuable possible
  • System.out.println that variable
  • System.out.println 5'10"