Skip to content
Snippets Groups Projects
TextAnswers.java 538 B
Newer Older
package no.uib.inf101.terminal;

public class TextAnswers {

  /*
   * Consider the following code:
   *
   * CommandLineInterface cli = new DummyShell();
   */
  /** What is the type of the variable cli? */
  static final String q1 = "";

  /** In which class is the object cli refers to? */
  static final String q2 = "";

Torstein Strømme's avatar
Torstein Strømme committed
  /** True or false: CommandLineInterface is both a type and an interface. */
  static final Boolean q3 = null;

  /** True or false: DummyShell is both a class and a type. */
  static final Boolean q4 = null;

}