Concept of access specifiers,Simple programs in java
 Access specifiers in java:  What are access specifiers:They are keywords that restricts the access of the instance variable(data) and methods within a package,inherited classes or within the class  There are basically 4 access specifiers in java:    public:Gives access is in the package,other classes,within the class but cannot be accesses in another package.Free access to the variable in the whole project to be summed.  private:Most restrictive,can access variable within the class only.Used for saving critical data.  protected:Data and methods are access within the classes that are inherited to the current class only and within class access.  default:Data and methods are accessible withing your package/project     Simple programs in java   Program to find the largest between two numbers:  Code:  class A  {  public static void main(String args[])  {  int a=5;  int b=10;            if(a>b)              {        ...
