Sajjad Dar wrote:
println is a function. So is out a class ??? So to import static function println we would say
"out" is a static variable of the System class.
Sajjad Dar wrote:
Is the rule for Static Imports that the right most entry must be a static function. ???
I believe you can import anything that is declared static -- static inner (nested) classes, static methods, or static variables.
Henry