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

Coderanch | Tony Docherty | 4 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

    downcasting failed

    Coderanch | 4 years ago | meeta gaur
    java.lang.ClassCastException: A cannot be cast to B
  2. 0

    downcasting failed

    Coderanch | 4 years ago | Tony Docherty
    java.lang.ClassCastException: A cannot be cast to B

    Root Cause Analysis

    1. java.lang.ClassCastException

      A cannot be cast to B

      at B.main()
    2. Unknown
      B.main
      1. B.main(B.java:12)
      1 frame