文档底部附上它处反射总结以及暴力反射的演示 说明:以下代码没问题能运行,但还有部分内容没学完,较为潦草。此文分为Person类和reflectDemo2 两个类。 代码分割线 package com.itcast.domain; public class Person { private Strin ...
分类:
编程语言 时间:
2021-04-29 12:12:58
阅读次数:
0
list.remove(xxx);删除基本类型不需要重写,自定义类型需要重写==运算符 list<Person> p; Person("xiaozhao"); p.remove(Person("xiaozhao"));//要要在Person类中重写==运算符 ...
分类:
编程语言 时间:
2021-04-29 11:43:10
阅读次数:
0
1.1 if A=4’b0011,B=3’b110 and C=4’b1110,then which one is the correct result for expression of {2{~A}}(B[1:0]&C[3:2]) ? A. 00 B. 01 C. 10 D. 11 ~^A = ...
分类:
其他好文 时间:
2021-04-28 12:21:02
阅读次数:
0
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style> body{ text-align:center; } #small{ margin-top:40px; } #showBig{ position:absolute; displa ...
分类:
Web程序 时间:
2021-04-28 12:06:03
阅读次数:
0
先看代码 package com.zyt.jvmbook; public class Girl extends Person{ public Girl() { int a; } @Override public void sayHello() { System.out.println("girl s ...
分类:
其他好文 时间:
2021-04-28 11:53:27
阅读次数:
0
绑定事件 在input标签内使用bindinput关键字,可以绑定input事件 例如: index.wxml中 `<input type="text" bindinput="handInputOne">` index.js中 `handInputOne(a){ console.log(a) //若 ...
分类:
微信 时间:
2021-04-28 11:50:08
阅读次数:
0
今天碰见几道数据库的题,所以新建了一个测试表来测试一下,里面生成了大概1万条数据吧 1.生成测试数据 具体随机生成测试数据可以参考下面链接: https://www.cnblogs.com/hill1126/p/11334523.html 2.注意事项 如果你的MySQL版本是8以上的话可能会遇到一 ...
分类:
数据库 时间:
2021-04-27 15:20:54
阅读次数:
0
C++(自带异常,使用示例) #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> //系统提供标准异常 #include <stdexcept> using namespace std; class Person ...
分类:
编程语言 时间:
2021-04-27 14:52:17
阅读次数:
0
在每次初始化VB前,都会去先初始化MPP系统,再去初始化VB 1 HI_MPI_SYS_Exit(); 2 HI_MPI_VB_Exit(); 但是去初始化不会清楚先前对缓存池的设置,且若有VB被占用,去初始化就会失败 1 HI_MPI_VB_SetConf failed with 0xa00180 ...
分类:
其他好文 时间:
2021-04-27 14:32:21
阅读次数:
0
关于GraphQL之前有描述,可以参考GraphQL 入门。但是这个入门写得不是很好,东拉西扯。为巩固所学我自己总结一下。 我们先定义一个类型系统: type Person { name: String! } type ClassRoom { tercher: Person! students: [ ...
分类:
其他好文 时间:
2021-04-26 14:10:12
阅读次数:
0