Answer:
for (scores.Entry<String, Integer> entry : scores.entrySet()) {
int value=0; String key="Rambo";
String k = entry.getKey();
int v = entry.getValue();
if (v>value)
{
value =v;
}
else
{
value=value;
}
}
for( scores.Entry<String, Integer> entry : scores.entrySet())
{
if( entry.getValue()==value)
System.out.println("Key = " + entry.getKey() + ", Value = " + entry.getValue());
}
Explanation:
The above scores are an object of Map type. And this is a parameter of findUopStudent function. So scores is a Map, and entry is an item. And we get its key and value. Now we compare each value using senteniel method and find the maximum value. Now we iterate through the scores using for the look and check the value of each entry against the maximum value found, and we print out the entry with maximum value. And that is the top student, which is required.
Answer:
it’s just a screenie hope it helps
D. enter because if you enter something on a cuputer or laptop your selecting something
Explanation:
you can connect multiple PCs to the wireless printer and print your documents from each one of them as long as the printer can be connected to the same network . You need the disc that came with the wireless printer to install the correct drivers on your computers and laptops.
hope it helps ( brainleist please )
Answer:
Speakers.
Explanation: Cause they only output sound, and are devices, further more they are not used to output images, like how could speakers output images using sound? They can't.