皮皮学,免费搜题
登录
搜题
【单选题】
以下程序的编译和运行结果为?

abstract class Base{

abstract public void myfunc();

public void another(){

System.out.println("Another method");

}

}

public class Abs extends Base{

public static void main(String argv[]){

Abs a = new Abs();

a.amethod();

}

public void myfunc(){

System.out.println("My Func");

}

public void amethod(){

myfunc();

}

}

A.
编译指示Base 类中的myfunc方法无方法体,没谁会喜欢该方法
B.
输出结果为 My Func
C.
编译指示 Base 类中无抽象方法
D.
编译通过,但运行时指示Base 类中无抽象方法
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】人体内最重要的排泄器官是
A.
B.
C.
D.
皮肤
E.
消化道
【简答题】The car accident has caused per______ damage to her eyesight.
【单选题】A recent spate of art thefts at a major museum has led to a drastic increase in the insurance premiums that the museum must pay to insure its collection. Many art fans are concerned that the museum, w...
A.
Law enforcement officials recently apprehended the Belgian Bobcat, a notorious art thief who has been linked to at least 20 art heists.
B.
Citing a dispute with the insurance company over the terms of its coverage, the museum has chosen to cancel its insurance policy.
C.
The majority of visitors to the museum are schoolchildren, who could not reasonably be expected to pay a high entrance fee.
D.
The museum pays for the majority of its total expenses from its large endowment, which is earmarked specifically for purchasing new art.
E.
The museum recently installed a state-of- the-art burglar alarm system that will make future thefts almost impossible.
【单选题】If family A has an income of $95,000 per year, and family B has an income of $35,000 per year, and each has a child attending a 4-year public university, to the nearest $1000, how much more would fami...
A.
$4000
B.
$7000
C.
$10,000
D.
$12,000
E.
$15,000
【单选题】A)He has to read a history book. B) He is too busy to go with her. C) He has already visited the museum. D) He must hand in a report about the museum.
A.
He has to read a history book.
B.
He is too busy to go with her.
C.
He has already visited the museum.
D.
He must hand in a report about the museum.
【单选题】--- Has Kate gone to the museum? --- Yes, not only she but also her mother ____ gone to the history museum.
A.
is
B.
has
C.
are
D.
have
【简答题】It is ______ work of art that the museum has decided to buy and keep it . A  such an unusual   B  a so unusual    C such unusual  D so unusual
【单选题】动脉壁上的压力感受器感受动脉血压变化,使相应的传入神经产生动作电位可看作 ( )
A.
控制系统
B.
受控系统
C.
控制信息
D.
反馈信息
【单选题】人体内最重要的排泄器官是
A.
B.
皮肤
C.
D.
E.
大肠
【单选题】单原子理想气体有1mol,等压降温1K过程中
A.
吸热
B.
放热
C.
吸热
D.
放热
相关题目: