Console
Functions
print
print
Description
Prints given data.
Parameters
args
- Object: The objects to print.
Returns
String - The printed string.
println
println
Description
Prints given data and a newline.
Parameters
args
- Object: The objects to print.
Returns
String - The printed string.
input
input
Description
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
inputln
Description
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
clear
Description
Clears the terminal.
Parameters
None
Returns
String - The text cleared.
Last updated