Commit b277490f authored by elijah vasquez's avatar elijah vasquez 🦍

initial commit

parent 30297c98
1. Use the Player class provided to create two objects.
|**Reference**|**Name**|**Score**|
|---|---|---|
|A|Jake|46|
|B|Elwood|49|
2. Now write some code to set a new reference **winner** to the player with the higher score, then print out the name of **winner**.
class Main {
public static void main(String[] args) {
}
}
\ No newline at end of file
class Player {
String name ;
int score ;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment