April 2019
Intermediate to advanced
360 pages
9h 17m
English
The InterpreterDriver class is the class that drives the application and therefore contains the main() method. There are two class variables, originatingContent and theExpression; both are initially set to null.
In addition to the constructor method, there is also an interpret() method that does the following:
The InterpreterDriver class is provided next:
import java.util.Scanner;public class InterpreterDriver { // class variables public Conversion originatingContent = null; public Expression theExpression = null; public InterpreterDriver(Conversion content) { originatingContent = content;
Read now
Unlock full access