SCJP 6 [86%], OCPWCD [84%], OCEJPAD [83%]
If you find any post useful, click the "plus one" sign on the right
Prasad Kharkar wrote:
I was playing with inner classes and found a little interesting things those are much similar to our normal classes
I am posting the code below
I don't have any question and I just want to share these interesting things
take a look at it
you will definitely like it
SCJP 6 [86%], OCPWCD [84%], OCEJPAD [83%]
If you find any post useful, click the "plus one" sign on the right
SCJP 6 [86%], OCPWCD [84%], OCEJPAD [83%]
If you find any post useful, click the "plus one" sign on the right
SCJP 6 [86%], OCPWCD [84%], OCEJPAD [83%]
If you find any post useful, click the "plus one" sign on the right
Prasad Kharkar wrote:while creating instance using the overloaded constructors why did that give errors?
I am unable to understand
SCJP 6 [86%], OCPWCD [84%], OCEJPAD [83%]
If you find any post useful, click the "plus one" sign on the right
Prasad Kharkar wrote:while creating instance using the overloaded constructors why did that give errors?
I am unable to understand
Prasad Kharkar wrote:
but how to extend the inner class without extending the outer class ?
and why does this not apply to the interface?
please answer.
I am really eager to know
SCJP 6 [86%], OCPWCD [84%], OCEJPAD [83%]
If you find any post useful, click the "plus one" sign on the right
Prasad Kharkar wrote:why does that work when we implement interface from another class
Prasad Kharkar wrote:
but I really don't know how to use the InnerClass for subclassing in another class without extending the outer class
Prasad Kharkar wrote:
also why does that work when we implement interface from another class
why does that not require the another class to subclass the class that has that interface?
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|