【题目描述】
一质量为m的小球和地面碰撞,开始的瞬时速度为v1,碰撞结束的瞬时速度为v2,如图所示,若v1=v2=v,则碰撞前后质点动量的变化值为()。
【我提交的答案】: |
【参考答案与解析】: 正确答案:A |
不懂 不是0吗
第1题
public class ChangeStrDemo { public static void changeStr(String str){ str="welcome"; } public static void main(String[] args) { String str="home"; changeStr(str); System.out.println(str); } }给出程序的运行结果()
A、welcome
B、home
C、无输出
第2题
第3题
设有如下代码: class Example { 2. String str; 3. Example(){ 4. str= "example"; 5. } 6. Example(String s) { 7. str= s; 8. } 9. } 10.class Demo extends Example{ 11.} 12.public class Test { 13. public static void main(String [] args) { 14. Exampleex = new Example("Good"); 15. Demo d = new Demo("Good"); 16. } 17. } 以下哪行将导致错误?()
A、A.第3行
B、B.第6行
C、C.第10行
D、D.第15行
第4题
下面成运行的结果是 abstract class A { public abstract void printStr(string str); } class B : A { public override void printStr(string str) { str = str + "override"; Console.WriteLine(str); } static void Main(string[] args) { A a = new B(); a.printStr("print "); } }
A、print
B、override
C、print override
D、编译出错
第5题
第6题
A、int print(String str){ } int print(String str,int num){ }
B、int print(String str,int num){ } int print(int num,String str){ }
C、int print(String str){ } static void print(String str){ }
D、int print(double x){ } int print(float x){ }
第7题
下面程序段的输出结果是______。 public class ex46 { public static void main(String args[]) { String str="Hello,"; str = str + "Guys!"; System.out .println (str); } }
A.Hello, Guys!
B.Guys!
C.Hello,
D.编译不通过
第8题
下列程序的输出结果是______。
public class Example{
String str=new String("good");
char ch[]={'a','b','c');
public static void main(String args[]){
Example ex=new Example();
ex.change(ex.str,ex.ch);
System.out.printin(ex.str"and"ex.ch);
}
public void change(String str,char ch []){
str="test ok"; ch[0]='g';
}
)
A.good and abc B.good and gbc
C.test ok and abc D.test ok and gbc
第9题
以下代码的运行结果是() public class Test{ String str=new String(“hello”); char ch[]={‘a’,’b’,’c’}; public static void main(String[] args) { Test ex=new Test(); Ex.change(ex.str , ex.ch); System.out.println(ex.str+“and”+ex.ch[0]); } public void change(String str , char ch[]){ str=”world”; ch[0]=’a’; } }
A、hello and d
B、hello and a
C、world and d
D、world and a
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!