![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java基础问题
海底钓鱼
本人写博客主要是为了使其成为一个网上笔记本,能方便自己复习,顺带着分享自己掌握的知识,给需要的同学提供力所能及的帮助。
展开
-
获取泛型的数据类型
public static void main(String[] args) { // Type type=getGenericType(AE_C11.class, TestInterface.class,0); Type type=getGenericType(TextField.class, HasValueAndElement.class,1); System.out.println(type); } public static Type getGenericType(Class<原创 2020-08-17 19:27:25 · 410 阅读 · 0 评论 -
Java基础部分问题
1. main函数和其他函数有何区别? 答:main函数是程序的入口,又叫主调函数,其本质就是一个函数,只是程序的运行从这里开始原创 2019-12-17 11:02:21 · 93 阅读 · 0 评论