Java 1.Java的特性和优势 Write Once,Run Anywhere 简单性 面向对象 可移植性 高性能 分布式 动态性 多线程 安全性 健壮性 2.Java的三大版本 JavaSE:标准版(桌面程序,控制台开发……) JavaME:嵌入式开发(手机,小家电……) JavaEE:E企业 ...
分类:
编程语言 时间:
2021-03-08 13:19:58
阅读次数:
0
Step 1 — Installing Apache and Updating the Firewall Adjust the Firewall to Allow Web Traffic sudo apt update sudo apt upgrade sudo apt install apache ...
分类:
系统相关 时间:
2021-03-06 14:52:16
阅读次数:
0
事务日志: 事务日志的写入类型为“追加”,因此其操作为“顺序IO”;通常也被称为:预写式日志 write ahead logging 事务日志文件: ib_logfile0, ib_logfile1 日志 事务日志 transaction log 错误日志 error log 通用日志 genera ...
分类:
数据库 时间:
2021-03-03 12:20:56
阅读次数:
0
MySql_176. 第二高的薪水 LeetCode_MySql_176 题目描述 题解分析 代码实现 # Write your MySQL query statement below select( select distinct Salary from Employee order by Sal ...
分类:
数据库 时间:
2021-03-02 12:23:52
阅读次数:
0
C# 中 PadLeft和PadRight 的用法 C# 中 PadLeft和PadRight 的用法 在 C# 中可以对字符串使用 PadLeft 和 PadRight 进行轻松地补位。 PadLeft(int totalWidth, char paddingChar) //在字符串左边用 pad ...
动机:在软件设计过程中,如果责任划分不清楚,随着需求的变化,子类极具膨胀,同时充斥着相同的代码。这时候需要划清责任。 一个示例程序: 1 class Stream 2 { 3 public: 4 virtual void read() = 0; 5 virtual void write() = 0; ...
分类:
其他好文 时间:
2021-03-01 13:45:11
阅读次数:
0
Java入门——从环境配置到Hello,world! Java的特点和优势 简单性 面向对象 可移植性:跨平台,“Write once, run anywhere” 高性能 分布性程序 动态性:反射机制 多线程:同时进行 安全性:适合用于网络 健壮性:不易崩溃 使用的人多 Java的三大版本 Jav ...
分类:
编程语言 时间:
2021-02-27 13:29:30
阅读次数:
0
检查文件是否存在、可读等等 File file = new File("out.txt") println file.exists() println file.canRead() 向文件写入文本 File file = new File("out.txt") file.write "First l ...
分类:
其他好文 时间:
2021-02-24 13:10:56
阅读次数:
0
using System; namespace leecode1 { class Program { static void Main(string[] args) { string outString= string.Empty; string s1 = "abc"; string s2 = "p ...
分类:
其他好文 时间:
2021-02-24 12:48:10
阅读次数:
0
简介 实现List接口 允许任何元素,包括null 大致和Vector相当,除了ArrayList不是线程安全的 size()、isEmpty()、get()、set()、iterator()、listIterator()时间复杂度为常数 add()与增加的节点数相等,增加n个,O(n) 其他操作都 ...
分类:
其他好文 时间:
2021-02-23 14:37:54
阅读次数:
0