![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 73
丸子学步园
这个作者很懒,什么都没留下…
展开
-
文章标题
Socket classA socket is simply an endpoint for communications between the machines. The Socket class can be used to create a socket.Important methodsMethod Description 1) public InputStream getInputS转载 2015-11-10 22:07:29 · 278 阅读 · 0 评论 -
文章标题
Java NetworkingJava Networking is a concept of connecting two or more computing devices together so that we can share resources.Java socket programming provides facility to share data between different转载 2015-11-14 09:25:39 · 284 阅读 · 0 评论 -
Java Socket Programming
Java Socket programming is used for communication between the applications running on different JRE.Java Socket programming can be connection-oriented or connection-less.Socket and ServerSocket classes转载 2015-11-14 22:25:32 · 428 阅读 · 0 评论 -
Java网络编程
OSI 参考模型物理层 这一层为上一层提供物理连接,数据作为原始的bit流传输数据链路层 负责两个相邻节点的线路,无差错地传送以针为单位的数据。每一针包括一定的数据和必要的控制信息。典型switch交换机网络层 选择合适的网间路由和交换节点,确保数据及时传输到目标主机。路由器传输层 根据通信子网的特性最佳地利用网络资源,为两个端系统的对话提供建立,维护和取消传输连接的功能会话层 管理进程之转载 2015-11-15 04:19:24 · 371 阅读 · 0 评论 -
Java Collection
Java ArrayList classJava ArrayList class uses a dynamic array for storing the elements. It extends AbstractList class and implements List interface. Java ArrayList class can contain duplicate element转载 2015-11-17 22:50:06 · 610 阅读 · 0 评论 -
RMI
The RMI (Remote Method Invocation) is an API that provides a mechanism to create distributed application in java. The RMI allows an object to invoke methods on an object running in another JVM.The RMI转载 2015-11-19 09:28:14 · 383 阅读 · 0 评论 -
Java I/O
Java uses the concept of stream to make I/O operation fast.StreamA stream is a sequence of data.In Java a stream is composed of bytes1) System.out: standard output stream2) System.in: standard input st转载 2015-11-25 05:56:10 · 451 阅读 · 0 评论 -
翻转
Reverse String Given s = “hello”, return “olleh public class Solution { public String reverseString(String s) { char[] array = s.toCharArray();//先把STRING转化为char[] int i = 0;//首原创 2016-06-08 08:33:59 · 348 阅读 · 0 评论