What is the default access modifier for a method or an instance variable if I do not state it explicitly?
For example:
package flight.booking;
public class FlightLog
{
    private SpecificFlight flight;
    FlightLog(SpecificFlight flight)
    {
        this.flight = flight;
    }
}
Is the access modifier of this constructor protected or package? Can other classes in the same package, which is flight.booking, call this constructor?
 
     
     
     
     
     
     
     
     
     
     
     
     
     
    