public access specifier

college.java

package abc; 
public class college{
    public String name="Javaonexperiance";
}
          

student.java

package def;
class student{
   public static void main(String args[]){
	 college c=new college();
	 System.out.println(c.name);
 }
}

          

output:
Javaonexperiance
          

Address

Plot number-56/1
Near Gurudwara
LandMark :
Opposite A.N.D college
Govindpuri Metro station
New Delhi
Mobile number:
8826034620