Console
Functions
print
printDescription
Prints given data.
Parameters
args - Object: The objects to print.
Returns
String - The printed string.
println
printlnDescription
Prints given data and a newline.
Parameters
args - Object: The objects to print.
Returns
String - The printed string.
input
inputDescription
Accepts user input.
Parameters
prompt - String: A string to print infront of the input.
limit - Integer: The limit of characters accepted by the input.
Returns
String - The text input.
inputln
inputlnDescription
Accepts user input and adds a newline.
Parameters
prompt - String: A string to print infront of the input.
limit - Integer: The limit of characters accepted by the input.
Returns
String - The text input.
clear
clearDescription
Clears the terminal.
Parameters
None
Returns
String - The text cleared.
Last updated