Search:

Type: Posts; User: syedbhai

Search: Search took 0.09 seconds.

  1. Re: Type mismatch assigning factory class result to subclass

    I see.
    Then I think you have some extra variables or methods in the subclasses. Because of that it will throw class cast exception.
    Then you will have to do it this way.
    Make the method in the...
  2. Re: Type mismatch assigning factory class result to subclass

    Hello.
    Just try this and let me know.
    Panda p = (Panda)Panda.factory("panda123");

    Thanks,
    Syed.
Results 1 to 2 of 2