【简答题】下面程序的输出结果为:Base:: fun,请将程序补充完整。 include <iostream.h> class Base{ public: 【 】 fun(){cout<<'Base::fun'<<end1:} class Derived : public Base{ public: 【 】 fun(){ cout<<'Derived::fun'<<end1; } }; int main()...
【单选题】下面程序的输出结果为( )。 public class Test { public static void main (String args[]) { String X='ABCD'; String Y='EFG'; X=X.substring (X.length()-Y.length()); System.out.println(X); } }
【简答题】读一读,判断句子是 否正确。 My name is Mei Mei. In the mor n ing , I have breakfast . Then I go to s chool . I have lunch at school. I like vegetables, chicken and ri ce for lunch . In the afternoon, I read books....