Java - Static Keyword
Find the error in this code snippet:
class Sample {
static void display() {
System.out.println(message);
}
String message = "Hello";
public static void main(String[] args) {
display();
}
}