In Java, when you declare a class or member without any access modifier, it uses the default access modifier, also called package-private. This means the class or member is accessible only within the same package. For example, if you have a class MyClass and a method display() both without modifiers, another class in the same package can create an object of MyClass and call display() successfully. However, if you try to access MyClass from a different package, the compiler will give an error because default access restricts visibility outside the package. This is different from public, which allows access everywhere, and private, which restricts access to within the class only. Understanding default access helps you control how your code is shared within your project packages.