Answer
can we get a picture of the problem ?
Explanation:
Answer:
Answered below
Explanation:
Class BaseballPlayer{
//Instance variables
string name;
int hits;
int bats;
//Constructor
BaseballPlayer (string a, int b, int c){
name = a;
hits = b;
bats = c
}
public void printBattingDetails( ){
System.out.print(name, hits, bats)
}
}
//Demo class
Class BaseballTester{
public static void main (String args []){
BaseballPlayer player = new BaseballPlayer("Joe", 8, 4)
player.printBattingDetails( )
}
}
Answer:
068
Explanation:
Or if you want binary it's 01000100