search

Home  >  Q&A  >  body text

java基础题目程序求讲解

初学java,求讲解分析

PHPzPHPz2893 days ago343

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 09:37:14

    The output result of the candidate should be
    B's m1, A's m2, A's m3
    B's m1, A's m2, C's m3 13
    A's m1, A's m2, C's m3 13
    B's m1, A's m2, C's m3 13
    right?
    B inherits A and overloads A's m1 method, and other methods are the same as A; C inherits B and overloads B's m3 method (that is, overloads A's m3 method), and other methods are the same as B's The method is the same.

    reply
    0
  • Cancelreply