- 2
What is * in java?
Why we use *in java?
2 Respostas
+ 4
It can also be used as a wildcard in import statements. Example:
import java.util.*; —> To import all classes from the java.util package.
+ 3
In Java, * is the multiplication operator. It takes the two operands on either side and multiplies them together. Example: 5*3 evalutes to 15.