java.lang.ClassCastException: com.src.Car incompatible with com.src.Ford

Coderanch | Rahul Ba | 7 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

    Object type casting

    Coderanch | 7 years ago | Rahul Ba
    java.lang.ClassCastException: com.src.Car incompatible with com.src.Ford

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.src.Car incompatible with com.src.Ford

      at com.src.Client.main()
    2. com.src
      Client.main
      1. com.src.Client.main(Client.java:6)
      1 frame