阿摩線上測驗 登入

申論題資訊

試卷:104年 - SCJP 1-50#41416
科目:OJCP(SCJP)
年份:104年
排序:0

申論題內容

第17題 Given: 1. public class Blip{ 2. protected int blipvert(int x){return 0;} 3. } 4. class Vert extends Blip{ 5. //insert code here 6. } Which five methods, inserted independently at line 5, will compile? (Choose five.) (A) public int blipvert(int x){return 0;} (B) private int blipvert(int x){return 0;} (C) private int blipvert(long x){return 0;} (D) protected long blipvert(int x){return 0;} (E) protected int blipvert(long x){return 0;} F. protected long blipvert(long x){return 0;} G. protected long blipvert(int x, int y){return 0;}

詳解 (共 8 筆)

詳解 提供者:BlackFloat
public int blipvert(int x){return 0;} protected long blipvert(int x){return 0;} protected int blipvert(long x){return 0;} protected long blipvert(long x){return 0;}
詳解 提供者:R GT
222222222222222222222222222222222222222222222
詳解 提供者:戴彣娟
ACEFG
詳解 提供者:gydelcom7
A) public int blipvertD) protected long blipvert(int x){return 0;} (E) protected int blipvert(long x){return 0;} F. protected long blipvert(long x){return 0;} G. protected long blipvert(int x, int y){return 0;}
詳解 提供者:jack556653
a,c,e,f,g
詳解 提供者:lovefutiger
NICE
詳解 提供者:朱耕誼
詳解 提供者:egg734631

Given: 1. public class Blip{ 2. protected int blipvert(int x){return 0;} 3. } 4. class Vert extends Blip{ 5. //insert code here 6. } Which five methods, inserted independently at line 5, will compile? (Choose five.) (A) public int blipvert(int x){return 0;} (C) private int blipvert(long x){return 0;} (E) protected int blipvert(long x){return 0;} F. protected long blipvert(long x){return 0;} G. protected long blipvert(int x, int y){return 0;}