This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Originally posted by srikanth mycherla: 1)by seeing a class how can i say whether it is a userdefined class or system defined class 2)by seeing a package how can i say whether it isa userdefined one or system defined one
There are no system defined classes or packages, Maybe you want to say SUN defined OR standard Java classes that comes with JDK.
All Standard classes are packaged in either java.package_name OR javax.package_name.
Originally posted by srikanth mycherla:
3)is there any option of seeeing all classes and interfaces in a package using command prompt
Yes, go to command prompt, change the directory to the package you want to explore and enter command dir *.class OR *.java , It list all the classes resides in that package.