Created
November 18, 2015 19:56
-
-
Save sivajankan/fde051a83a8bbbf45a05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start new Shell window | |
$ java bsh.Console # Starts bean console | |
$ java bsh.Interpreter // run as text-only on the command line | |
$ java bsh.Interpreter filename [ args ] // run script file | |
Trial: | |
$ java bsh.Interpreter | |
bsh % int add(int a, int b) { return a+b;} | |
bsh % print(add(1,2)); //3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment