---
title: "Discussion on \"Task-11\" | Hashnode"
description: "Discussion on \"Task-11\". Access Modifiers in Java:\n\npublic: Accessible from anywhere. Classes, methods, and variables marked as public can be accessed by any other class.\n\nprotected: Accessible within the same package or subclasses in different packages. Protected members ar..."
url: "https://hashnode.com/posts/task-11/65cdb0a57f6761adee32b252"
---

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

Discussion

# [Task-11](https://mypracticetools.co.in/task-11?utm_source=hashnode&utm_medium=feed)

Access Modifiers in Java: public: Accessible from anywhere. Classes, methods, and variables marked as public can be accessed by any other class. protected: Accessible within the same package or subclasses in different packages. Protected members ar...

Feb 15, 2024 · 2 min read · mypracticetools.co.in  
Updated Feb 20, 2024  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#java](https://hashnode.com/tag/java)

## Written by

[Manikandan](https://hashnode.com/@Mani0402)

@Mani0402

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

Quality Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
