How do i draw a line in java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

How do i draw a line in java?

9th May 2017, 2:24 AM
chris
chris - avatar
2 Answers
+ 7
You can use StdDraw to draw to a file. ftp://ftp.cs.princeton.edu/pub/cs126/dsp/StdDraw.java (looks like solo learn doesn't recognize ftp:// , you'll have to copy paste instead of clicking the link)
9th May 2017, 3:05 AM
Rrestoring faith
Rrestoring faith - avatar
+ 1
public class line{ public static void main (String args[]){ system.out.println("____________________________"); } }
21st May 2017, 4:47 AM
Aditya Narayan Mishra
Aditya  Narayan Mishra - avatar