java.lang.ClassCastException: java.lang.String

Coderanch | Deepak Lal | 8 years 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

    Need to resolve ClassCastException:Help me

    Coderanch | 8 years ago | Deepak Lal
    java.lang.ClassCastException: java.lang.String
  2. 0

    Need to resolve ClassCastException

    Coderanch | 8 years ago | Deepak Lal
    java.lang.ClassCastException: java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String

      at Interpretor.NotesInterpretor.getFrequency()
    2. Interpretor
      TestInterpretorDesignPattern.main
      1. Interpretor.NotesInterpretor.getFrequency(TestInterpretorDesignPattern.java:59)
      2. Interpretor.NotesInterpretor.getNoteFromKeys(TestInterpretorDesignPattern.java:41)
      3. Interpretor.TestInterpretorDesignPattern.main(TestInterpretorDesignPattern.java:113)
      3 frames