1Z0-808 Web TestEngine demo

Exit VCEDump 1Z0-808 Java SE 8 Programmer I
Question 22 of 58
0% complete
Q22 Single choice

Given:

class Sports {

int num_players;

String name, ground_condition;

Sports(int np, String sname, String sground){

num_players = np;

name = sname;

ground_condition = sground;

}

}

class Cricket extends Sports {

int num_umpires;

int num_substitutes;

Which code fragment can be inserted at line //insert code here to enable the code to compile?

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in