使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 0 / 0
随机练习 自定义设置练习量
题型乱序 按导入顺序练习
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
class Parent{
void printMe()
System.out.println("parent");
}
class Child extends Parent {
void printMe(){
System.out. println("child");
void printall(){
super.printMe();
this.printMe();
printMe();
public class Test_this{
public static void main(String args[]{
Child myC=new Child();
myC.printall();
class Test{
private int m;
public static void fun(){
//some code…
public class Base{
int w, x, y, z;
public Base(int a, int b)
{
x=a; y=b;
public Base(int a, int b, int c, int d)
//调用两参构造
w=d;
z=c;
在代码说明//调用两参构造处写入如下哪个代码是正确的?
public class Test{
private float f = 1.0;
int m = 12;
static int n=1;
public static void main(String arg[]){
Test t = new Test();
//some code...
如下哪个使用是正确的?
class Base{
public Base (){//...}
public Base (int m){//...}
public void fun( int n){//...}
public class Child extends Base{
//member methods
如下哪句可以正确地加入子类中?