Match imports

Report a typo

Match each import with a suitable statement.

a) import java.lang.*;

b) import java.util.*;

c) import static java.lang.Math.*;
Match the items from left and right columns
a
b
c
Allows us to use the method Math.max(1, 2) as max(1, 2)
It's always automatically imported
Allows us to declare a variable of type Scanner without writing full class name
___

Create a free account to access the full topic