The keyword public indicates that the public method / public variable / public class / public constructor can be called by any object. This means that you could call the public method / public variable / public class / public constructor from other packages and also other classes.