I never though that it would be such a simple thing .
both code are doing same thing , but in second case all the variable ( PI & E ) are being created locally for My class or in other word , we have a local copy of all the variable in My class .
Is this right ... and sufficient for beta ....
thanks a lot . [ February 02, 2005: Message edited by: rathi ji ]
It means , If we are importing a class then we will use * sign & If we are importing particular member ( variable only , method is not possible I think ) then we will not use * sign .
Wildcard allows importing all the static members of Math class in one statement. Let's say, you want to import some static members like PI, min and max in Math, there are two approaches to do this: