Can i access all the members(both static and instance) in a class using like this
import java.lang.System.*;
If i want to import a class then syntax should be import java.io.PrintSteam
Then we can access printstream and for accessing static members import static should be used
import java.lang.System.*
is compiled successfully but not able to access any methods,instance variables,static variables from the class,then what is imported using above line.