I found a few days ago a code in Java that uses the class keyword in the context, for example:
MyConcreteClass.class.AMethod();
I've tried to do it in a JFrame, for example:
JFrame.class.getName();
And that works but... I can't figure out/find on the internet what this keyword means in that context. I've only used it to declare classes.
Can anyone explain me what class means in this context?
Thanks,