阿摩線上測驗
登入
首頁
>
法醫病理與解剖學
>
96年 - 96 專技高考_法醫師:法醫病理與解剖學#41415
> 申論題
四、如何區別典型的銳器創和鈍器創之創口?(10 分)
相關申論題
五、何種情況下的法醫解剖要考慮到一氧化碳造成的死因?(10 分)
#128444
第12題 Drag and Drop(拖曳題) Add methods to the Beta class to make it compile correctly. class Alpha{ public void bar(int... x){} public void bar(int x){} } public class Beta extends Alpha{ Place here Place here Place here } private void bar(int x){} public void bar(int x){} public int bar(String x){return 1;} public Alpha bar(int x){} public void bar(int x, int y){} public int bar(int x){return x;}
#128445
第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;}
#128446
第26題 Given: 10. interface Jumper{public void jump();} ... 20. class Animal{} ... 30. class Dog extends Animal{ 31. Tail tail; 32. } ... 40. class Beagle extends Dog implements Jumper{ 41. public void jump(){} 42. } ... 50. class Cat implements Jumper{ 51. public void jump(){} 52. } Which three are true? (Choose three.) (A) Cat is-a Animal (B) Cat is-a Jumper (C) Dog is-a Animal (D) Dog is-a Jumper (E) Cat has-a Animal F. Beagle has-a Tail G. Beagle has-a Jumper
#128447
第32題 Given: 1. class Mammal{} 2. 3. class Raccoon extends Mammal 4. Mammal m = new Mammal(); 5. } 6. 7. class BabyRaccoon extends Mammal{} Which four statments are true? (Choose four.) (A) Raccoon is-a Mammal. (B) Raccoon has-a Mammal. (C) BabyRaccoon is-a Mammal. (D) BabyRaccoon is-a Raccoon. (E) BabyRaccoon has-a Mammal. SCJP 6.0 認證教戰手冊 黃彬華著 碁峰出版 17 F. BabyRaccoon is-a BabyRaccoon.
#128448
第33題 Given: 2. public class Hi{ 3. void m1(){} 4. protected void m2(){} 5. } 6. class Lois extends Hi{ 7. //insert code here 8. } Which four code fragments, inserted independently at line 7, will compile? (Choose four.) (A) public void m1(){} (B) protected void m1(){} (C) private void m1(){} (D) void m2(){} (E) pubic void m2(){} F. protected void m2(){} G. private void m2(){}
#128449
第34題 Which four statements are true? (Choose four.) (A) Has-a relationships should never be encapsulated. (B) Has-a relationships should be implemented using inheritance. (C) Has-a relationships can be implemented using instance variables. (D) Is-a relationships can be implemented using the extends keyword. (E) Is-a relationships can be implemented using the implements keyword. F. The relationship between Movie and Actress is an example of an is-a relationship. G. An array or a collection can be used to implement a one-to-many has-a relationship.
#128450
第36題 Given: public class Doubler{ public static int doubleMe(Holder h){ return h.getAmount() * 2; } } and: public class Holder { int amount = 10; public void doubleAmount(){amount = Doubler.doubleMe(this);} public in getAmount(){return amount;} //more code here } Place the code framgmets in position to reduce the coupling between Doubler and Holder. public class Doubler{ public static int doubleMe( Place here h){ return Place here * 2; } } public class Holder { int amount = 10; public void doubleAmount(){amount = Doubler.doubleMe( Place here );} SCJP 6.0 認證教戰手冊 黃彬華著 碁峰出版 19 public in getAmount(){return amount;} //more code here } Code Fragments void Holder int Doubler h.getAmount() h this amount
#128451
第47題 Place the Types in one of the Type columns, and the Relationships in the Relationship column, to define appropriate has-a and is-a relationships: Type Relationship Type Relationship Types Place here Place here Animal is-a Dog Forest Place here Place here has-a Side Rectangle Place here Place here Tail Place here Place here Programming Book Square Tree Book Java Book Pen
#128452
第49題 Place code framgmets into position so the output is: The quantity is 420 Place here update(int quantity, int adjust){ Place here } public void callUpdate(){ int quant = 100; Place here System.out.println("The quantity is " + quant); } Code Fragments public int quantity = quantity + adjust; update(quant, 320); public void quant = update(quant, 320); public int update(int quantity, int adjust){ } public void callUpdate(){ int quant = 100; quant = update(quant, 320); System.out.println("The quantity is " + quant); }
#128453
相關試卷
114年 - 114 專技高考_法醫師:法醫病理與解剖學#129126
114年 · #129126
113年 - 113 專技高考_法醫師:法醫病理與解剖學#121759
113年 · #121759
112年 - 112 專技高考_法醫師:法醫病理與解剖學#115979
112年 · #115979
111年 - 111 專技高考_法醫師:法醫病理與解剖學#109940
111年 · #109940
110年 - 110 專技高考_法醫師:法醫病理與解剖學#100659
110年 · #100659
109年 - 109 專技高考_法醫師:法醫病理與解剖學#89507
109年 · #89507
108年 - 108 專技高考_法醫師:法醫病理與解剖學#78343
108年 · #78343
107年 - 107 專技高考_法醫師:法醫病理與解剖學#71181
107年 · #71181
106年 - 106 專技高考_法醫師:法醫病理與解剖學#63951
106年 · #63951
105年 - 105 專技高考_法醫師:法醫病理與解剖學#54610
105年 · #54610