Originally posted by sravanthi pulukuri:
Hey
the with ordianry import cant we import static members/?
No, that is why there is static import, otherwise what would be difference
between normal import and static import.
static import just gives a facility to avoid some keystrokes.
It enables us to use PI, E,etc constants of the Math class to be used directly without writing Math.PI or Math.E for example.
Thanks,