Java初级——1. Fundamental

垃圾回收

安全校验


JRE运行程序时的3项主要功能:

加载代码:由class loader完成

校验代码:由bytecode verifier完成

执行代码:由runtime interpreter(解释器)完成

      ------1
-安装:JDK》环境变量》Eclipse
      -Linux:
pwd:当前工作目录
cd:改变当前工作目录
ls:查看当前工作目录
   *基本原理:
   *数据结构:根目录》主目录》挂载点
-JDK:开发包     JRE:运行环境      JVM:虚拟机
      ------2
-变量
-基本数据类型:
整数相除,舍弃小数
转义字符
-类型转换:向较大的类型进行转换
-运算符和表达式:三目运算
      ------3
-分支结构
-循环结构
      -------5
-数组:复制,扩容,
-排序:(*快速排序、冒泡排序)
***        冒泡排序:比较相邻的元素,如果不符合条件就交换:
   第一次找到所有元素中最大的放在最后,不再变动;第二次找到剩余元素中最大的放在倒数第二的位置,不再变动,依此类推
      ------6
-方法 定义:修饰词,返回值类型,方法名,参数列表,方法体

  ,      -  a long-standing gap in the documentation and literature of the Java™ programming language and platform, by providing fundamental and in-depth coverage of #  and  networking from the point of view of the Java API, and by discussing advanced networking programming techniques.1 The new I/O and networking features introduced in " 1.4 provide further justification for the appearance of this text. Much of the information in this book is either absent from or incorrectly specified in the Java documentation and books by other hands, as I have noted throughout. In writing this book, I have drawn on nearly twenty years’ experience in network programming, over a great variety of protocols, APIs, and languages, on a number of platforms (many now extinct), and on networks ranging in size from an Ethernet a few inches in length, to a corporate  between cities thousands of miles apart, to the immense geographic spread of the Internet. This book covers both ‘traditional’ Java stream-based I/O and so-called ‘new I/O’ based on buffers and channels, supporting non-blocking I/O and multiplexing, for both ‘plain’ and secure sockets, specfically including non-blocking # and % . Server and client architectures, using both blocking and non-blocking I/O schemes, are discussed and analysed from the point of view of scalability and with a particular emphasis on performance analysis. An extensive list of TCP/IP platform dependencies, not documented in Java, is provided, along with a handy reference to the various states a TCP/IP port can assume.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值