学习接口知识前,必须要掌握基础的网络知识。 TCP,IP,HTTP,DNS解析等都是绕不过去的,而且都是面试时经常会被问到的。 首先: IP: TCP:位于传输层.掌握TCP的三次握手,知道这3次握手是怎么回事.通俗点讲,就是第一次:建立连接时,客户端向服务端发出请求,等待服务端确认. 第二次:服务 ...
分类:
Web程序 时间:
2021-05-25 17:54:48
阅读次数:
0
public class TestDemo { public static void main(String[] args) { //打印三角形 for (int i = 1; i <= 5; i++) {![](https://img2020.cnblogs.com/blog/2406104/20 ...
分类:
其他好文 时间:
2021-05-25 17:53:28
阅读次数:
0
一、创建三个文件放在项目文件夹src下面的API文件夹下: 分别是:apiList.js、index.js、request.js 二、文件内容作用: (1)apiList.js 用于存放接口的地址信息(如下所示:) (2)index.js 封装接口,可全局使用this.$api('...'),后面举 ...
分类:
其他好文 时间:
2021-05-25 17:38:22
阅读次数:
0
1、Pull Request 是什么? Github官方文档的定义如下: "Pull Request 是一种通知机制。你修改了他人的代码,将你的修改通知原来的作者,希望他合并你的修改,这就是 Pull Request。" Pull Request 本质上是一种软件的合作方式,是将涉及不同功能的代码, ...
分类:
其他好文 时间:
2021-05-25 17:36:29
阅读次数:
0
Kotlin中是可以将内联函数中的泛型进行实化的。 那么具体该怎么写才能将泛型实化呢?首先,该函数必须是内联函数才行,也就是要用inline 关键字来修饰该函数。其次,在声明泛型的地方必须加上reified关键字来表示该泛型要进行 实化。 inline fun <reified T> getGene ...
分类:
其他好文 时间:
2021-05-24 17:21:37
阅读次数:
0
Hashtable介绍 1)存放的元素是键值对:即k-v 2)hashtable的键和值都不能为null,否则会抛出NullPointerException 3)hashtable使用方法基本上和HashMap一样 4)hashtable是线程安全的,hashMap是线程不安全的 Hashtable ...
分类:
其他好文 时间:
2021-05-24 17:21:19
阅读次数:
0
-M is for mouse events. List of Keys Collected from this source file C-<key> Hold Control + Key M-<key> Hold Meta + Key F1 F1 F2 F2 F3 F3 F4 F4 F5 F5 ...
分类:
其他好文 时间:
2021-05-24 17:20:24
阅读次数:
0
![image](https://img2020.cnblogs.com/blog/1900590/202105/1900590-20210519232327220-1310153934.png) ![image](https://img2020.cnblogs.com/blog/1900590/2... ...
分类:
其他好文 时间:
2021-05-24 16:57:17
阅读次数:
0
![image](https://img2020.cnblogs.com/blog/1900590/202105/1900590-20210519232626154-1077156772.png) ![image](https://img2020.cnblogs.com/blog/1900590/2... ...
分类:
其他好文 时间:
2021-05-24 16:56:32
阅读次数:
0
![image](https://img2020.cnblogs.com/blog/1900590/202105/1900590-20210519221352773-1089709327.png) ![image](https://img2020.cnblogs.com/blog/1900590/2... ...
分类:
其他好文 时间:
2021-05-24 16:50:11
阅读次数:
0