i have some code here..

Code:
public void main(String args[]) {

     ......"some code here"
		
}

public void readTiles() {

     ......"some code here"

}
but i get the error

** FileClassTester.java:4: non-static method read() cannot be referenced from a static context **

why? what? i'm just accessing another function from the main function? i've done that a 100 times before? even if there's no code in readTiles() it give me an error.

--770