上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 55 下一页
摘要: 1. 下面哪些是Thread类的方法() A start() B run() C exit() D getPriority() 答案:ABDexit()是System类的方法,如System.exit(0)。2. 下面关于jav... 阅读全文
posted @ 2017-09-03 22:23 2637282556 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 编程 1、设计4个线程,其中两个线程每次对j增加1,另外两个线程对j每次减少1。写出程序。 以下程序使用内部类实现线程,对j增减的时候没有考虑顺序问题。public class ThreadTest1{ private int j; public stat... 阅读全文
posted @ 2017-09-03 18:49 2637282556 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 判断 short s1 = 1; s1 = s1 + 1; (s1+1运算结果是int型,需要强制转换类型) short s1 = 1; s1 += 1;(可以正确编译, +=默认强制转换) 1、Math.round(11.5)等於多少? Math.round(-11... 阅读全文
posted @ 2017-09-03 18:06 2637282556 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 1、Java有没有goto? java中的保留字,现在没有在java中使用。 2、启动一个线程是用run()还是start()? 1.启动一个线程是调用start()方法,使线程所代表的虚拟处理机处于可运行状态,这意味着它可以由JVM调度并执行。这并不意味着线程就会立... 阅读全文
posted @ 2017-09-03 17:49 2637282556 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1、面向对象的特征有哪些方面 1.抽象: 抽象就是忽略一个主题中与当前目标无关的那些方面,以便更充分地注意与当前目标有关的方面。抽象并不打算了解全部问题,而只是选择其中的一部分,暂时不用部分细节。抽象包括两个方面,一是过程抽象,二是数据抽象。 2.继承: 继承是一种... 阅读全文
posted @ 2017-09-03 15:32 2637282556 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 2017-09-01 13:45:34,708 [localhost-startStop-1] ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed... 阅读全文
posted @ 2017-09-01 14:38 2637282556 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 配置内容 Line 3 in XML document from file [E:\workSpaceX86_64\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\m... 阅读全文
posted @ 2017-09-01 11:15 2637282556 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1:下载[root@localhost soft]# wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.19-linux-glibc2.12-x86_64.tar.gz2:解压文件[root@dbser... 阅读全文
posted @ 2017-08-31 19:20 2637282556 阅读(158) 评论(0) 推荐(0) 编辑
摘要: [root@dbserver ~]# su - mysqlLast login: Thu Aug 31 17:20:03 CST 2017 on pts/1su: warning: cannot change directory to /home/mysql: No ... 阅读全文
posted @ 2017-08-31 17:29 2637282556 阅读(1332) 评论(0) 推荐(0) 编辑
摘要: 1、ORA-12547: TNS:lost contact[root@dbserver /]# sqlplus sys/xiniu123 as sysdba SQL*Plus: Release 12.2.0.1.0 Pro... 阅读全文
posted @ 2017-08-26 14:17 2637282556 阅读(771) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 55 下一页