摘要:
JVM虚拟机默认异常处理机制 Java异常处理: 1.try...catch... 2.throw 1.try...catch... 1 public class test{ 2 public static void main(String[] args) { 3 System.out.printl 阅读全文
摘要:
Date类 Date对象构造方法 Date对象常用方法 1 import java.util.*; 2 public class test { 3 public static void main(String[] args){ 4 //无参构造Date:得到的现在的日期 5 Date date1=n 阅读全文
摘要:
OSI参考模型 1.应用层 2.表示层 3.会话层 4.传输层 5.网络层 网络层设备: 逻辑地址 路由 6.数据链路层 MAC地址 MAC地址的作用范围只在一个LAN(局域网)当中 如下图,A和B在一个LAN中,C在另外一个LAN中。 在同一LAN下,A与B通信,A要知道B的IP地址和MAC地址 阅读全文