树立正确的择业观和创业观,对于大学生顺利走进职业生活具有重要的现实意义,这包括( )。
A. 树立崇高的职业理想
B. 服从社会发展的需要
C. 做好充分的择业准备
D. 培养创业的勇气和能力
给出以下代码:5.class Atom {6. Atom() { System.out.print("atom"); }7. }8. class Rock extends Atom {9. Rock(String type) {System.out.print(type); }10. }11. public class Mountain extends Rock {12. Mountain() {13. super("granite ");14. new Rock("granite ");15. }16. public static void main(String[] a) {17. new Mountain(); }18. }程序的执行结果是:( )
A.atom granite atom granite
B.atom granite
C.granite granite
D.atom granite granite
给出以下代码:10.class Line {11. public class Point { public int x,y;}12. public Point getPoint() { return new Point(); }13. }14. class Triangle {15. public Triangle() {16. // 此处加入代码17. }18. }第16行加入以下哪一行代码,可以定义一个Point对象?
A.Point p = Line.getPoint();
B.Line.Point p = Line.getPoint();
C.Point p = (new Line()).getPoint();
D.Line.Point p = (new Line()).getPoint();
阅读以下代码11.class Alpha {12. public void foo() { System.out.print("Afoo "); }13. }14. public class Beta extends Alpha {15. public void foo() { System.out.print("Bfoo "); }16. public static void main(String[] args) {17. Alpha a = new Beta();18. Beta b = (Beta)a;19. a.foo();20. b.foo();21. }22. }程序的执行结果是?
A.Afoo Afoo
B.Afoo Bfoo
C.Bfoo Afoo
D.Bfoo Bfoo