LiquidJava Quiz

Test your knowledge about LiquidJava concepts including refinements, object state modeling and ghost variables!

LiquidJava Banner
  1. Liquid types allow developers to catch bugs at:

  2. Liquid types can prevent which of the following bugs? (Select all that apply)

  3. In LiquidJava, what integer values for x are allowed with this refinement? @Refinement("x > 0")

  4. In LiquidJava, which of the following can be refined? (Select all that apply)

  5. In LiquidJava, which of the following is not a valid refinement?

  6. In LiquidJava, to specify that a method should only be called when the object is in a certain state, we should use a:

  7. In LiquidJava, what does the following state refinement mean? @StateRefinement(from="!closed(this)", to="closed(this)")

  8. In LiquidJava, the @ExternalRefinementsFor annotation is used to:

  9. In LiquidJava, a ghost variable is used to:

  10. In LiquidJava, which of the following refinements updates the ghost variable size?