java.lang.ClassCastException: A cannot be cast to C

Coderanch | Asif Mansoori | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Polymorphism? Inheritance getContentPane

    Coderanch | 8 years ago | Asif Mansoori
    java.lang.ClassCastException: A cannot be cast to C

    Root Cause Analysis

    1. java.lang.ClassCastException

      A cannot be cast to C

      at TestABC.main()
    2. Unknown
      TestABC.main
      1. TestABC.main(TestABC.java:9)
      1 frame