Java Visualizer
(beta:
report a bug
)
Write your Java code here:
options
Show String/Integer/etc objects, not just values
Show overridden fields, synthetics
Prefer non-nesting and vertical layouts
Force linked lists to display vertically
args
:
+command-line argument
stdin
(also visualizes consumption of
StdIn
)
x
Visualize Execution
The visualizer supports
StdIn
,
StdOut
, most other
stdlib
libraries
,
Stack
,
Queue
, and
ST
.
Click for FAQ.
How can I access Java's built-in
Stack
/
Queue
instead of the introcs one?
At the top of your program, write
import java.util.Stack;
— note,
import java.util.*;
won't work.
How do I get shorter URLs?
For example code, you can use
#sampleFile=ExecLimit
but in general, this is a feature that still
needs to be implemented
. You could use
goo.gl
for now.