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

Coderanch | Asif Mansoori | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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