public final class JanetConsole extends Object
| Constructor and Description |
|---|
JanetConsole() |
| Modifier and Type | Method and Description |
|---|---|
static void |
print(Object o)
Prints object.toString() to console (no new line).
|
static void |
println()
Prints new line to the console.
|
static void |
println(Object o)
Prints object.toString() to console + new line.
|
static int |
readInt()
Reads integer from keyboard.
|
static String |
readLine()
Reads new line from keyboard.
|
public static int readInt()
public static String readLine()
public static void print(Object o)
o - Object to be printed.public static void println(Object o)
o - Object to be printed.public static void println()
Copyright © 2017. All rights reserved.