Related Issues (20)
- 编程规范:以下哪种操作是存在风险的(2分)
- Unicode缺省是用16位来表示一个字的。(2分)
- 以下程序的输出结果是 public class Print{ static boolean out(char c){ System.out.println(c); return true; } public static void main(String[] argv){ int i = 0; for(out('A');out('B') && (i<2);out('C')){ i++; out('D'); } } }(2分)
- 有如下代码: public calss Test { public static void mian(String[] args) { class A { public int i = 3; } Object o = (Object) new A(); A a = (A) o; System.out.println(“i=”+a.i) } } 上述程序运行的结果是()。(2分)
- JVM内存不包含如下哪个部分( )(2分)
- 主机甲和主机乙间已建立一个TCP连接,主机甲向主机乙发送了两个连续的TCP段,分别包含300字节和500字节的有效载荷,第一个段的序列号为200,主机乙正确接收到两个段后,发送给主机甲的确认序列号是?(2分)
- 对于linux说法,下列说法正确的是()(2分)
- 编程规范:当一个表达式包含多个运算符时,应该尽量使用默认优先级来保证表达式的运算顺序。(2分)
- 编程规范:所有代码应该封装在函数或类中,即使是脚本类的代码,也建议在执行主程序前总是检查if name == 'main',这样当模块被导入时主程序会不会被执行?(2分)
- 有关hashMap跟hashTable的区别,说法正确的是?(4分)
- 编程规范:应当尽可能设计功能全面、灵活的数据结构,以提高效率. (2分)
- 编程规范:snprintf/strncpy/strncat等函数不能保证目标字符串总是以NULL结尾。(2分)
- 下面代码输出是什么? class C { C() { System.out.print("C"); } } class A { C c = new C(); A() { this("A"); System.out.print("A"); } A(String s) { System.out.print(s); } } public class Test extends A { Test() { super("B"); System.out.print("B"); } public static void main(String[] args) { new Test(); } }(2分)
- 编程规范:关于exception说法正确的是(4分)
- 以下声明中,能够防止方法覆盖的有()。(4分)
- 下列属于关系数据库的是()。(4分)
- 编程规范:下列哪些做法有助于降低缓冲区溢出发生的可能性(4分)
- 下面不属于SOL语句的子类的是( )。(2分)A. 数据查询语言(DQL)
- 如下代码: class Base { Base() { System.out.print("Base"); } } public class Alpha extends Base { public static void main( String[] args ) { new Alpha(); new Base(); } } 结果是什么? (2分)
- 关于下面这段Java程序,哪些描述是正确的:( ) public class ThreadTest extends Thread { public void run() { System.out.println("In run"); yield(); System.out.println("Leaving run"); } public static void main(String []argv) { (new ThreadTest()).start(); } }(2分)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-trusted-coding-exam.