3rd Day at Noida: Got aware of some amazing packages

Hi Readers! I wanted to know actually what a package is! and the day was on Apex for that. So I have learnt about some package and they are crucially used in our general java programs.

What is package in java?
 Formally, a package in Java is a mechanism to encapsulate the sub packages, classes and interfaces.

Why packaged is used?
Packages are used for 
  • For preventing naming conflicts
  • Providing controlled access
There are two types of package are available:
  • inbuilt package
  • user-defined package

some common packages are mentioned below:
  • java.lang package
  • java.io package
  • java.util package and many more....


Comments

Popular posts from this blog

How to add Internet download manager extension in the Chrome browser

A Day in Noida: Learning Begins

Python Deciding factor