error: non-static method LetConnect() cannot be referenced from a static context Connection conn= LetConnect();
What is the reason behind "non-static method cannot be referenced from a static context"?