Question: please rewrite this java code into simpler way to write if because i don't understand stuff likethis. etc. I wrote the instruction in capital letter

please rewrite this java code into simpler way to write if because i don't understand stuff like"this." etc. I wrote the instruction in capital letter in comments please rewrite this java code into simpler way to write if because

import java.util. Vector; public class Rewrite { static class cell int x, y: int dis; public cell(int x, int y, int dis) { //PLEASE REWRITE all the "this." because i dont understand it, simplify it into regular viables this.x = x; this.y = y; this.dis = dis; //PLEASE REWRITE THIS ENTIRE VECTOR WITHOUT USING VECTOR BECAUSE I DON'T UNDERSTAND VECTOR Vector q = new Vector(); //PLEASE REWRITE "q.add" into easier version, i dont understand what is it" q.add(new cell(knightPos[0], knightPos[1], 0)); //line 47

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!