单选题有以下程序: void main() int i=1,j=2,k=3; if(i++==1 &&(++j==3&&k++==3)) printf("%d %d %d/n",i,j,k); 程序运行后输出的结果是( )。 A.1 2 3 B.2 3 4 C.2 2 3 D.2 3 4
单选题有以下程序: #include <stdio.h> void fun(int n,int *p) int f1,f2; if(n==1||n==2) *p=1; else fun(n-1;&f1); fun(n-2,&f2); *p=f1+f2; main() int s; fun(3,&s);printf("%d/n",s); 程序的运行结果是( )。 A.2 B.3 C.4 D.5
单选题软件详细设计产生的图如下:该图是()。A.N-S图B.PAD图C.程序流程图D.E-R图
单选题有以下函数: int fun(char *s) char*t=s; while(*t++); return(t-s); 该函数的功能是( )。 A.比较两个字符串的大小 B.计算s所指字符串占用内存字节的个数 C.计算s所指字符串的长度 D.将s所指字符串复制到字符串t中
单选题提供showDocument()方法,使Applet能够请求浏览器访问特定URL的类是______。
A.Applet
B.AppletContext
C.Japplet
D.URL
单选题在E-R图中,用来表示实体联系的图形是{{U}} {{/U}}。
A.椭圆图
B.矩形
C.菱形
D.三角形
单选题以下程序输出结果为( )。 class test 2 public static void main(String args[]) int n = 7; n<<=3; n=n n>>=2; System.out.println(n); A) 0 B) -1 C) 14 D) 64
单选题下列关于线程调度的叙述中,错误的是( )。
单选题在同一个浏览器中,当用户离开Applet所在的页面,而转到另一个页面时,Applet将会______。
单选题在描述软件的结构和过程中,提出了以下的设计表达工具,其中不正确的说法是
____
单选题当浏览器重新返回到包含Applet的页面时调用的方法是______。
单选题JAVA语言中所有的简单数据类型都被包含在______中。
单选题下面程序段的输出结果为 public class Test public static void main(String args[]) boolean a,b,c; a=(3<5); b=(a==true); System.out.printin( "a="+a+"b="+b) ; c-(b==false); System.out.println(b="+b+"e="+c) ;
单选题软件详细设计产生的图如右。该图是()。
单选题下列程序的运行结果是______。 public class Test{
public static void main(String[] args){ int
x=3,y=4,z=5; if(x>3){ if(y<2)
System.out.println("show one"); else
System.out.println("show two"); }
else{ if(z>4) System.out.println("show
three"); else System.out.println("show
four"); } } }
A.show one
B.show two
C.show three
D.show four
单选题下列关于完全二叉树的叙述中,错误的是( )。
单选题下列语句输出结果为{{U}} {{/U}}。 public class
test/ { public static void main (String
args[]) { String s1=new
String("How"); String s2=new String("How");
System.out.println(!(s1.equals(s2))); }
}
A.false
B.true
C.0
D.1
单选题在多分支语句switch(表达式){}中,表达式不可以返回______。
单选题抛出异常时,应该使用下列( )子句。
单选题请选择下面File参数书写正确的一项( )。