java.lang.ClassCastException: java.lang.String

Oracle Community | 807596 | 1 decade 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

    Casting Question

    Oracle Community | 1 decade ago | 807596
    java.lang.ClassCastException: java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String

      at Test109.outputString()
    2. Unknown
      Test109.main
      1. Test109.outputString(Test109.java:9)
      2. Test109.main(Test109.java:5)
      2 frames