(二)JAVA周边-4:对于反射的简述

目录

反射

.0-反射的意义:

.1-Class类

.2-访问字段:

.2.0 Example:

.2.1-keywords-Field:

.3-Method

.3.1-to call the method:

.3.2-to call the constructor method

.4-Inheritance relationship capture

.5-Proxy pattern

.5.0-Differences between class and interface in JAVA

.5.1-Why introduce proxy pattern:


反射

Reference_Blog.liao

Introdcution:

Reference_Blog.liao

.0-反射的意义:

反射是为了解决在运行期,对某个实例一无所知的情况下,如何调用其方法。

Reference_Blog.liao

.1-Class类

Reference_Blog.liao

Introduction: 

Reference_Blog.liao

.2-访问字段:

Reference_Blog.liao

.2.0 Example:

Reference_Blog.liao

.2.1-keywords-Field:

Reference_Blog.liao

.3-Method

.3.1-to call the method:

Reference_Blog.liao

Introduction:

Reference_Blog.liao

.3.2-to call the constructor method

Reference_Blog.liao

.4-Inheritance relationship capture

Reference_Blog.liao

Introdcution:

Reference_Blog.liao

.5-Proxy pattern

Reference_Blog.liao

Introdcution: 

Reference_Blog.liao

.5.0-Differences between class and interface in JAVA

Reference_Blog.liao

.5.1-Why introduce proxy pattern:

.5.1.1-the reason:

-shortage for previous implementation

Reference_Blog.liao

-persuasions on the new method

Reference_Blog.liao

--------------------
作者:Username1898625
创作不易,转载已注明出处
--------------------

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值