随笔分类 - Java学习
看网课的笔记
摘要:这两天在写bookstore的前后端交互,遇到了一些问题,特此记录。 1. axios的使用 axios是对ajax的一个封装,使用起来更加方便,写写自己的心得 首先是它的格式 axios({ method: 'GET', url: 'http://localhost:8080/getBookByI
阅读全文
摘要:异常机制 Throwable Error virtulMachineError AWTEError exception IOException RuntimeException ArrayIndexOutOfBoundsException NullPointerException Arithmeti
阅读全文
摘要:super详解 继承方法: public class Name extends father{ code } 子类调用:this .name 父类调用:super.name super.print() 子类构造时会调用父类的构造器,并且super()必须时第一行 写了有参构造会覆盖无参构造,需要手写
阅读全文
摘要:1.Title title level 1 format:# title level 1 title level 2 format: ## title level 2 ... title level 6 format: ###### title level 6 alternative <h1>Hea
阅读全文