摘要: 一般初学者在学习java的时候都是不建包的,所以运行java文件的命令行语句也比较传统。 cd the content of the java file javac target.java java target 这样一个java文件就运行完了。 那一个有包名的java文件应该如何运行呢?在网上百度 阅读全文
posted @ 2016-07-26 21:43 terminator-LLH 阅读(3356) 评论(0) 推荐(1) 编辑

2016年11月28日

摘要: embrace 包含、拥抱 lighter 打火机、点火器、较清的 portfolio 公文包、代表作品集、部长的职位shorthand 速记、速记的 manually 手工的 gamut 涵盖、音域 coherent 连贯的、一致的、条理清楚的architect 构造师、建造者 codify 编成 阅读全文
posted @ 2016-11-28 15:25 terminator-LLH 阅读(127) 评论(0) 推荐(0) 编辑

2016年8月30日

摘要: 1.SpringMVC中常用的几个注解 1)@Controller 表明当前类为Controller 2)@RequestMaping 当前类或者方法的映射路径,@RequestMapping中常用的几个参数 ①value 当前方法或者控制器的映射路径。当后面还有参数时这一参数不能省略 如:@Req 阅读全文
posted @ 2016-08-30 17:03 terminator-LLH 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 1.配置web.xml时报了一个错The processing instruction target matching "[xX][mM][lL]" is not allowed. 原因:处理指令匹配的目标xml是不被允许的,一般来说都是文件头出现了问题。 <?xml version="1.0" e 阅读全文
posted @ 2016-08-30 09:57 terminator-LLH 阅读(412) 评论(0) 推荐(0) 编辑

2016年8月16日

摘要: 阅读全文
posted @ 2016-08-16 11:41 terminator-LLH 阅读(331) 评论(0) 推荐(0) 编辑

2015年10月26日

摘要: 1. Delegation a relationship that is not directly supported by Java. This is a midway between inheritance and composition, because you place a number 阅读全文
posted @ 2015-10-26 17:12 terminator-LLH 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1. Every non-primitive methods has a toString() method"source = " +source; //an object of WaterSourcethe compiler sees you tring to add a String objec... 阅读全文
posted @ 2015-10-26 08:56 terminator-LLH 阅读(167) 评论(0) 推荐(0) 编辑

2015年10月22日

摘要: 1.Package: the library unita package contains a group of classes. organized togeother under a single namespace. if you're planning to create libraries... 阅读全文
posted @ 2015-10-22 21:22 terminator-LLH 阅读(324) 评论(0) 推荐(0) 编辑

2015年10月21日

摘要: 1. What is finalize() forthe need for finalize() is limited to special case in which your object can allocate storage in some way other than creating ... 阅读全文
posted @ 2015-10-21 20:58 terminator-LLH 阅读(271) 评论(0) 推荐(0) 编辑

2015年10月18日

摘要: 1.String s;System.out.println("s=");you will get a compile time error because s isn't actually attached to anything, A safer practice, then is always ... 阅读全文
posted @ 2015-10-18 10:58 terminator-LLH 阅读(167) 评论(0) 推荐(0) 编辑

导航