
Java学习笔记
文章平均质量分 66
woyouzai
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Java语言跨平台和JVM的理解
该部分转自CSDN上另一位作者的连接如下:点击打开链接1、是么是平台Java是可以跨平台的编程语言,那我们首先得知道什么是平台,我们把CPU处理器与操作系统的整体叫平台。CPU大家都知道,如果计算机是人,那CPU就是人的大脑,它既负责思维运算,又负责身体各部件的命令控制。CPU的种类很多,除去我们熟知的Intel与AMD外,还有比如上面说到的SUN的Sparc,比如IBM的Po原创 2016-11-08 15:19:56 · 4251 阅读 · 0 评论 -
Java中String类的一些理解
今天要介绍的String类是一个不可变的对象(immutable object),由名字我们可以看出来:不可变对象就是创建之后不可以改变的对象转载 2016-11-09 13:51:07 · 479 阅读 · 0 评论 -
Final 修饰符
In Java, what does the ‘final’ modifier mean when applied to a method, class, and an instance variable?When applied to a method definition the final modifier indicates that the method may not be o原创 2016-11-09 14:43:36 · 372 阅读 · 0 评论 -
Different Between An Interface and An Abstract Class
What is the different between an interface and an abstract class in Java?It is best to start answering this question with a brief definition of abstract classes and interfaces and then explore t原创 2016-11-21 15:30:43 · 454 阅读 · 0 评论 -
Java学习记录01
构造代码块 一个class里面出现一个大括号里面包含一些代码的东西,我们称之为构造代码块 , 构造代码块是先于构造函数执行的,用来初始化个对象共有的内容。而构造函数是用来给相应的对象初始化的。 class Person{ private int age; private String name; //构造代码块,每一个人对象建立的时候都是哭原创 2016-12-13 00:54:13 · 221 阅读 · 0 评论 -
二分查找的实现
Discription on Binary SearchThe binary search algorithm is used to search an element in the sorted array. It’s faster than linear search and improves perfomance from O(n) to O(logN) for searching an e原创 2016-12-19 17:16:23 · 488 阅读 · 0 评论 -
JAVA环境变量
相信很多第一次接触Java语言的时候,都会觉得Java为什么这么麻烦,下载完jdk还得要配置一系列的环境变量才能很方便的使用,然后就是用Google“Java环境变量的配置”然后出来好多教程,跟着教程走一遍,OK。所以我这里不准备将怎么在自己的电脑上面配置环境变量了 然而,那几个变量你有没有真正了解为什么要设置它呢,相信好多人没有。我觉得当你理解一个东西的时候,你就真的掌握了Java环境变原创 2017-01-17 11:18:56 · 330 阅读 · 0 评论