网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
如果我们需要导入一张图片资源,我们需要将图片放在哪个工程目录中?()
- A、res/string
- B、res/drawable
- C、res/icon
- D、res/picture
参考答案
更多 “如果我们需要导入一张图片资源,我们需要将图片放在哪个工程目录中?()A、res/stringB、res/drawableC、res/iconD、res/picture” 相关考题
考题
有以下程序 int b=2; int func(int*A) { b+=*a;return(B) ; } main() { int a=2,res=2; res+=rune(A) ; printf("%d \n",res); } 程序运行后的输出结果是( )A.4B.6C.8D.10
考题
下列程序的输出结果是includeint b=2;int func(int *a) {b+=*a;return(b) ;}void m
下列程序的输出结果是 #include<iostream.h> int b=2; int func(int *a) {b+=*a;return(b) ;} void main( ) { int a=2,res=2; res+=func(a) ; cout<<res;}A.4B.6C.8D.10
考题
下列程序的输出结果是int b=2;int func(int *a){ b+=*a; return(b);}main(){ int a=2, res=2; res += func( printf("%d\n",res);} A.2 B.4C.6 D.8
考题
本题定义了一个求两个数的最大值的方法max,并调用该方法计算67和23的最大值。 public class javal{ public static void main(String[]args){ javal temp=new javal; int res=max(67,23); System.out.println("res="+res); } static int maX( ){ int maxNum; if(ab) ; else maxNum=b; ; } }
考题
Android项目工程下面的assets目录的作用是什么()。A、放置应用到的图片资源。Res/drawableB、主要放置一些文件资源,这些文件会被原封不动打包到apk里面C、放置字符串,颜色,数组等常量数据res/valuesD、放置一些与UI相应的布局文件,都是xml文件res/layout
考题
下面哪个方法不是HttpServlet类:()A、protected void doGet(HttpServletRequest reg,HttpServletResponse res) throws Servlet Exception ,java.io.IOExceptionB、protected void doPost(HttpServletRequest reg,HttpServletResponse res) throws Servlet Exception,java.io.IOExceptionC、protected void doHead(HttpServletRequest reg,HttpServletResponse res) throws Servlet Exception,java.io.IOExceptionD、protected void doReceive(HttpServletRequest reg,HttpServletResponse res) throws ServletException,java.io.IOException
考题
在一个Filter中,处理filter的业务的是()方法 A、dealFilter(ServletRequest reg,ServletResponse res,FilterChain chain)B、dealFilter(ServletRequest reg,ServletResponse res)C、doFilter(ServletRequest reg,ServletResponse res,FilterChain chain)D、doFilter(ServletRequest reg,ServletResponse res)
考题
如果我们需要创建一个字符串资源,我们需要将字符串放在res/values的哪个文件中?()A、value.xmlB、strings.xmlC、dimens.xmlD、styles.xml
考题
给定如下Java代码片段,已知查询语句是:select id from title,并且已经获得了相应的结果集对象res。现在要在控制台上输出title表中id列(存储类型为int)的值,可以填入下划线处的代码是()。A、res.getInt(“id”)B、res.getInt(0)C、res.getInt(1)D、res.getInt(id)
考题
单选题_____ inventèrent le cinéma.A
Les frères LumièresB
FranklinC
Auguste LumièresD
Louis Lumières
考题
单选题有如下程序:#include struct pair{ int first,second;};struct pair get_min_max(int*array, int len){ int i; struct pair res; res.first=array[0]; res.second=array[0]; for(i=1;ires.second) res.second=array[i]; } return res;}main(){ int array[5]={9,1,3,4}; struct pair min_max = get_min_max(array,5); printf(min=%d,max=%d, min_max.first, min_max.second);}程序运行后的输出结果是( )。A
min=1,max=9B
min=0,max=9C
min=1,max=4D
min=0,max=4
热门标签
最新试卷