摘要: 1、四种传输介质 (1)网线(双绞线): 四对八根线: 橙色 橙白色 绿色 绿白色 蓝色 蓝白色 棕色 棕白色 直通线: 设备与设备之间连接(大设备之间一般都用直通线)(最为常用的线缆 568B) 交叉线: 电脑与设备之间的连接 (使用交叉线短接网口(电口、网线的接口)可以重置) 网线的线序: 56 阅读全文
posted @ 2019-10-12 21:13 -筱 阅读(1174) 评论(0) 推荐(0)
摘要: private 在当前类中可访问 default 在当前包内和访问 protected 在当前类和它派生的类中可访问 public 公众的访问权限,谁都能访问 例: public class Hello { public static void main(String agrs[]) { Perso 阅读全文
posted @ 2019-09-26 08:17 -筱 阅读(122) 评论(0) 推荐(0)
摘要: 当定义一个方法时,从根本上说是在声明它的结构的元素。在 C 中,定义方法的语法如下: (Parameter List) { Method Body } 下面是方法的各个元素: Access Specifier:访问修饰符,这个决定了变量或方法对于另一个类的可见性。 Return type:返回类型, 阅读全文
posted @ 2019-09-24 15:49 -筱 阅读(170) 评论(0) 推荐(0)
摘要: public:所有对象都可以访问; private:对象本身在对象内部可以访问; protected:只有该类对象及其子类对象可以访问 internal:同一个程序集的对象可以访问; protected internal:访问限于当前程序集或派生自包含类的类型。 阅读全文
posted @ 2019-09-23 13:39 -筱 阅读(136) 评论(0) 推荐(0)
摘要: break 语句 终止 loop 或 switch 语句,程序流将继续执行紧接着 loop 或 switch 的下一条语句。 continue 语句 引起循环跳过主体的剩余部分,立即重新开始测试条件。 using System; namespace Loops { class Program { s 阅读全文
posted @ 2019-09-23 12:54 -筱 阅读(104) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace jiecheng { class jiechen 阅读全文
posted @ 2019-09-23 12:47 -筱 阅读(112) 评论(0) 推荐(0)
摘要: using System; namespace RectangleApplication { class Rectangle { double length; double width; public void Acceptdetails() { length = 4.5; width = 3.5; 阅读全文
posted @ 2019-09-22 16:58 -筱 阅读(102) 评论(0) 推荐(0)
摘要: 一个 C 程序主要包括以下部分: 命名空间声明(Namespace declaration) 一个 class Class 方法 Class 属性 一个 Main 方法 语句(Statements)& 表达式(Expressions) 注释 using System; namespace Hello 阅读全文
posted @ 2019-09-21 14:34 -筱 阅读(190) 评论(0) 推荐(0)
摘要: 创建数据库指令create database [数据库名]; 选中某个数据库操作指令use [数据库名];会出现Database changed 查看某个数据库中所有的数据表show tables;出现Empty set则说明数据库中一个数据表也没有 创建数据表指令: CREATE TABLE pe 阅读全文
posted @ 2019-09-10 19:29 -筱 阅读(477) 评论(0) 推荐(0)
摘要: 1、使用终端操作数据库 (1)登录数据库服务器 mysql uroot p(密码) 若只有一个用户输入密码可直接登录 (2)查询数据库服务器中所有用户 show databases; + + | Database | + + | information_schema | | mysql | | pe 阅读全文
posted @ 2019-09-09 21:57 -筱 阅读(549) 评论(0) 推荐(1)