Summary and analysis based on reflection in Java

At the beginning of learning Java, it was really difficult to understand what reflection was

Some books, even very classic books, make people feel confused. Maybe I'm too stupid

Moreover, it is said on the Internet that the reflection mechanism needs to be often applied to the learning framework in the future, which always makes people feel a little uneasy

Just now, I accidentally read the chapters and videos explaining reflection, and felt that I could understand some

Now I decided to work hard, read and write, and record some main contents and operations here

I think, for a stupid person like me, perhaps the best way to learn is to keep repeating

When I encounter knowledge I don't understand, I stop to learn it again. Although it wastes a lot of time, it also has some effects on me

My understanding is: reflection is to restore the complete information of a class according to an instantiated object

At least for me, I think the advantage it brings me is that it gives me a bottom-up understanding of object-oriented

x_ X here hates those thick heads on one side, killing all my brain cells

If you want to complete reflection, you must understand the class

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>