URGENT!!! can be used nested class in a abstract class?



  • hi everyone!

    i have an exam these days : ) , and i have got an question maybe someone here can help me.

    my question is: can be used nested class to abstract class if yes i need an reason, if no also i need an reason 😞

    waiting for an answer

    Best regards 🙂



  • Try it out, if you have the correct answer google a reason.

    Best regards,
    SideWinder



  • jvcBegg schrieb:

    hi everyone!

    i have an exam these days : ) , and i have got an question maybe someone here can help me.

    my question is: can be used nested class to abstract class if yes i need an reason, if no also i need an reason 😞

    waiting for an answer

    Best regards 🙂

    No correct answer in google 😞

    there is no java programmer that he can explain it himself? PLEASE PLEASE !!



  • Did you even try it out?

    Regards,
    SideWinder



  • SideWinder schrieb:

    Did you even try it out?

    Regards,
    SideWinder

    yes sir, i am looking for that answer since 1 week 😢



  • I haven't used nested classes very often before, but they work even on abstract classes. Normally I use them together with the singleton pattern, but not in abstract classes. Maybe there is a use in GUI-Development, where I'm not so familiar.


Log in to reply