构造方法: 构造方法又名构造器。通过构造器可以构造该类的实例,其实就是对象。 格式:修饰符+类名(形参列表) 1.构造方法的名称必须与类名相同,没有返回类型。 2.构造方法中不能使用return语句返回一个值。 3.在创建对象时需要用new,例:Note note=new Note(); 4.没有指 ...
分类:
其他好文 时间:
2019-12-30 19:04:38
阅读次数:
60
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the ...
分类:
其他好文 时间:
2019-12-30 09:49:26
阅读次数:
79
题目描述:给一个二叉树,返回该二叉树的最大深度 Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root nod ...
分类:
其他好文 时间:
2019-12-30 09:21:14
阅读次数:
77
COMP0008 Written Java Coursework (2019/20) NOTE: Your final Moodle submission will consist of a number of parts:1.Three different versions of the “Con ...
分类:
其他好文 时间:
2019-12-28 19:01:47
阅读次数:
84
Introduction There are many manipultions require us to sort a collection. Using sort package in Go is a good choice, we will avoid many hard codes by ...
分类:
其他好文 时间:
2019-12-28 14:36:03
阅读次数:
89
当我cmd执行 D:\Program Files\TortoiseSVN\bin>TortoiseProc.exe /command:checkout /url:"https://svn.sinaapp.com/file/chao/" /path:"c:\work\" /closeonend:1 / ...
body { font-size: 15px; color:#333; background:#fff; font-family: "Courier New", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", "WenQuanYi Micro ...
分类:
其他好文 时间:
2019-12-26 11:36:21
阅读次数:
521
方法一:重新安装可以解决右键关联问题 官方下载地址:https://notepad-plus-plus.org/ (1)下载自己需要的版本(建议安装绿色稳定32位的版本,原因64位的好多插件找不到) (2)根据提示安装 方法二:由于某种原因导致右键关联找不到了(我是因为将安装后,移动安装后的文件夹位 ...
分类:
其他好文 时间:
2019-12-26 11:35:55
阅读次数:
84
php代码 // 要删除的文件路径 $path = __DIR__ . "/runtime/temp_img/"; // 定义要删除的时间间隔:七天 $weekSecond = 7 * 24 * 3600; $num = 0; if (is_dir($path)) { // 获取目录句柄 $hand ...
分类:
Web程序 时间:
2019-12-25 16:15:23
阅读次数:
122
最近开始使用web api,开发调试过程还算顺利,现在项目已经发布,网站已经部署,结果浏览过程出现问题(不出问题好像不正常吧……),做个note开始填坑。 1、1号坑 咋一开始就爆出另一个程序正在使用此文件?没有文件占用的,后想来是网站端口手动修改过,所以应该是端口冲突了,所以果断删除网站重新添加一 ...