What is wrong with this line of code? I can't compile..it says something wrong atCode:public class TextGraph{ private char[][] screen; private int scrW; private int scrH; public TextGraph(){} public TextGraph(int x, int y){ scrW=x; scrH=y; screen= char[scrW][scrH]; } }
Code:screen= char[scrW][scrH];


Reply With Quote


Bookmarks