---
title: "Discussion on \"Core Java(Part-9)\" | Hashnode"
description: "Discussion on \"Core Java(Part-9)\". Access modifier\nFor classes, there are only two access modifiers: public and default (no modifier). private is not allowed for top-level classes.\nAccess modifiers control how much access you give to your variables, methods, or classes from other part..."
url: "https://hashnode.com/posts/core-javapart-9/681c69c4bf0c0fb9b5938d6c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Core Java(Part-9)](https://pending-topic.hashnode.dev/core-javapart-9?utm_source=hashnode&utm_medium=feed)

Access modifier For classes, there are only two access modifiers: public and default (no modifier). private is not allowed for top-level classes. Access modifiers control how much access you give to your variables, methods, or classes from other part...

May 8, 2025 · 9 min read · pending-topic.hashnode.dev  
Updated May 10, 2025  
Read the article

-   [#core-java](https://hashnode.com/tag/core-java)
-   [#basics-of-java](https://hashnode.com/tag/basics-of-java)
-   [#java-programming](https://hashnode.com/tag/java-programming)
-   [#java](https://hashnode.com/tag/java)
-   [#java-beginner](https://hashnode.com/tag/java-beginner)
-   [#core-java-basics](https://hashnode.com/tag/core-java-basics)
-   [#java-programming-tutorials](https://hashnode.com/tag/java-programming-tutorials)
-   [#java-basic](https://hashnode.com/tag/java-basic)
-   [#java-basics](https://hashnode.com/tag/java-basics)
-   [#exceptionhandling](https://hashnode.com/tag/exceptionhandling)
-   [#access-modifiers](https://hashnode.com/tag/access-modifiers)

## Written by

[Khelendra Kumar Thakur](https://hashnode.com/@kkt)

@kkt · India

  
[View profile](https://hashnode.com/@kkt)

Developer (Love to develop and explore and learn new skills

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
