How to make Tile-line?

I have 2 tiles, for example. Here is the matrix:

0,0,0,0,2
0,0,0,0,0
1,0,0,0,0

How I can automatically make a line from 1 one to point 2?

Final result will be something like that:

0,0,0,1,2
0,1,1,0,0
1,0,0,0,0
Answer:1

We're downloading a file from FTP server. Content of the file changes sometimes. File name is always the same. Is this scenario possible? File content is "aaaaaaaaaaaaa" We start downloading File is ...

I am having trouble with my last method. I am informed that I have to use my adjust method from my BankAccount.class in my monthlyFee method in my bank class and I can not figure it out. I've tried ...

I am trying to integrate a processing applet in a jsp, with the following code added in the jsp: <!--<applet code="Test1.class" archive="C:\Users\user\Desktop\MyApplet.jar" width="600" height="...

The code works fine. Just looking for information on how to set up my print f and get the desired results. signs more than one print f statement(s): import java.util.Scanner; public class Coupon { ...