多项选择题
A. byte
B. long
C. char
D. float
E. Short
F. Long
单项选择题 Youwanttolimitaccesstoamethodofapublicclasstomembersofthesameclass.Whichaccessaccomplishesthisobjective?()
单项选择题 publicclassTest{ publicstaticvoidmain(String[]args){ intx=0; assert(x>0):“assertionfailed”; System.out.println(“finished”); } } Whatistheresult?()
单项选择题 classSuper{publicintgetLenght(){return4;}}publicclassSubextendsSuper{publiclonggetLenght(){return5;}publicstaticvoidmain(String[]args){Supersooper=newSuper();Subsub=newSub();System.out.println(sooper.getLenght()+“,”+sub.getLenght());}}Whatistheoutput?()