java.lang.RuntimeException: Uncompilable source code - non-static variable this cannot be referenced from a static context

Coderanch | rahul aditya | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    i don't get to know why this program cannot be executed?

    Coderanch | 5 years ago | rahul aditya
    java.lang.RuntimeException: Uncompilable source code - non-static variable this cannot be referenced from a static context

    Root Cause Analysis

    1. java.lang.RuntimeException

      Uncompilable source code - non-static variable this cannot be referenced from a static context

      at bert.GameShape.main()
    2. bert
      GameShape.main
      1. bert.GameShape.main(GameShape.java:40)
      1 frame