Ask Humsurfers Share a new story
home > Tech > Core Java Interview Questions & answer
Humsurfer is the community news sharing site for global Indians. Get news recommended by others.

Core Java Interview Questions & answer

What is a Java package and how is it used? A Java package is a naming context for classes and interfaces. A package is used to create a separate name space for groups of classes and interfaces. Packages are also used to organize related classes and interfaces into a single API unit and to control accessibility to these classes and interfaces.

What modifiers may be used with a top-level class? A top-level class may be public, abstract, or final.





Comments


Post stamped by 1 Humsurfers

User

Login | Register




Forgot Password?

Upcoming

Recent Comments