登录
|
注册
公司
标签
文章
搜索
Java
热门公司
百度
迅雷
阿里巴巴
腾讯
网易
京东
热门职位
C语言工程师
研发工程师
C#工程师
iOS
测试工程师
Android
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
1419
static String str0="0123456789"; static String str1="0123456789"; String str2=str1.substring(5); String str3=new String(str2); String str4=new String(str3.toCharArray()); str0=null; 假定str0,...,str4后序代码都是只读引用。 Java 7中,以上述代码为基础,在发生过一次FullGC后,上述代码在Heap空间(不包括PermGen)保留的字符数为() 5 10 15 20 ...
阅读题目
Java
2015
单选题
经典指数
1
1
1409
什么是java序列化,如何实现java序列化? ...
阅读题目
Java
百度
问答题
经典指数
1
0
1390
What results from the following code fragment? int i = 5; int j = 10; System.out.println(i + ~j); Compilation error because”~”doesn’t operate on integers -5 -6 15 ...
阅读题目
Java
迅雷
单选题
经典指数
2
0
1360
以下代码为什么会输出这种结果? public static void main(String[] args) { System.out.println(2.0 - 1.1); System.out.println(1.0 - 0.1); } 输出结果: 0.899999999999999 0.9 ...
阅读题目
Java
问答题
经典指数
1
1
1357
下列哪个选项是Java调试器?如果编译器返回程序代码的错误,可以用它对程序进行调试。 java.exe javadoc.exe jdb.exe javaprof.exe ...
阅读题目
Java
百度
单选题
经典指数
1
0
1339
What is the valid declaration for the finalize() method? protected void finalize() throws Throwable final finalize() public final finalize() private Boolean finalize() private final void finalize() throws Exception ...
阅读题目
Java
迅雷
单选题
经典指数
1
0
1326
When is the text “Hi there”displayed? public class Static Test { static { System.out.println(“Hi there”); } public void print() { System.out.println(“Hello”); } public static void main(String args[]) { Static Test st1 = new StaticTest(); st1.print(); StaticTest st2 = new StaticTest(); st2.print(); } } Never. Each time a new object of type StaticTest is created. Once when the class is loaded into the Java vi ...
阅读题目
Java
迅雷
单选题
经典指数
1
0
1315
All interface methods must be declared as public when implemented in a class. FALSE TRUE ...
阅读题目
Java
阿里巴巴
单选题
经典指数
1
0
1275
Which one is not Java keywords? null native goto sizeof void ...
阅读题目
Java
迅雷
多选题
经典指数
1
0
1223
TypeA.class位于classpath下, /absolute_path/TypeA.class为其在文件系统中的绝对路径, 且类文件小于1k, MyClassLoader为一个自定义的类加载器, 下面的这段类加载程序是否正确, 如果有错请指出哪一行有错, 简述理由。 import java.io.File; import java.io.FileInputStream; import java.io.InputStream; public class Tester{ public static void main(String[] args){ MyClassLoader cl1=new MyClassLoader(); try{ File f=new File("/absolute_path/TypeA.class"); byte[] b=new byte[1024]; InputStream is=new FileInputStream(f); int I=is.read(b); Class c=cl1.defineMyC ...
阅读题目
Java
网易
问答题
经典指数
<<
<
25
26
27
28
29
>
>>
285
题目数
1
贡献者
307
答案数
扫描后移动端查看
我也分享一个题目
相关标签
百度
C语言工程师
迅雷
2015
阿里巴巴
腾讯
研发工程师
网易
2016
京东
同类标签
javascript
html
Linux
C#
Jquery
PHP
c++
Python
操作系统
sql
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录