creating:statements

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
creating:statements [2026/11/18 18:44] – Add missing line of code in Environment class to tutorial ahelwercreating:statements [2026/11/19 02:59] (current) – Fixed highlighting ahelwer
Line 165: Line 165:
 Similarly modify the ''runPrompt'' method: Similarly modify the ''runPrompt'' method:
  
-<code java [highlight_lines_extra="2,10"]>+<code java [highlight_lines_extra="2,8"]>
   private static void runPrompt() throws IOException {   private static void runPrompt() throws IOException {
     interpreter = new Interpreter(true);     interpreter = new Interpreter(true);
-    InputStreamReader input = new InputStreamReader(System.in); 
-    BufferedReader reader = new BufferedReader(input); 
  
     for (;;) {     for (;;) {
  • creating/statements.1795027495.txt.gz
  • Last modified: 2026/11/18 18:44
  • by ahelwer