java 将日期转化为格林时间_JAVA题库:格林模拟试题三(上)(1)

JAVA认证试题集锦 2021-07-16 网络整理 可可

【shitiku.jxxyjl.com--JAVA认证试题集锦】

questionsquestion 1)which of the following are legal statements?

1) float f=1/3;
2) int i=1/3;
3) float f=1.01;
4) double d=999d;

question 2)which+"one";
4) byte b=255;

question 4)which of the following statements are true?

1) the garbage collection algorithm in java is vendor implemented
2) the size of primitives is platform dependent
3) the default type for a numerical literal with decimal component is a float.
4) you can modify the value in an instance of the integer class with the setvalue method

question 5)which of the following are true statements?

1) i/o in java can only be performed using the listener classes
2) the randomaccessfile class allows you to move directly to any point a file.
3) the creation of a named instance of the file class creates a matching file in the underlying operating system only when the close method is called.
4) the characteristics of an instance of the file class such as the directory separator, depend on the current underlying operating system

本文来源:https://shitiku.jxxyjl.com/javarenzhengshitijijin/6424.html

Copyright @ 2011- 考试题库网 All Rights Reserved. 版权所有

免责声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。

 站长统计