java.lang.ClassCastException: [Linterfaces.Relatable; cannot be cast to [Linterfaces.RectanglePlus;

Stack Overflow | SouR Graphics | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Casting object arrays in varargs

    Stack Overflow | 7 months ago | SouR Graphics
    java.lang.ClassCastException: [Linterfaces.Relatable; cannot be cast to [Linterfaces.RectanglePlus;

    Root Cause Analysis

    1. java.lang.ClassCastException

      [Linterfaces.Relatable; cannot be cast to [Linterfaces.RectanglePlus;

      at interfaces.RectanglePlus.moveAll()
    2. interfaces
      Main.main
      1. interfaces.RectanglePlus.moveAll(RectanglePlus.java:52)
      2. interfaces.Main.main(Main.java:9)
      2 frames