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

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

    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