---
title: "Discussion on \"Access Modifiers in OOPS (Java)\" | Hashnode"
description: "Discussion on \"Access Modifiers in OOPS (Java)\". In Java, access modifiers are used to set the accessibility (visibility) of classes, interfaces, variables, methods, constructors, data members."
url: "https://hashnode.com/posts/access-modifiers-in-oops-java/615dace98e8734462af5b062"
---

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

Discussion

# [Access Modifiers in OOPS (Java)](https://techlab.hashnode.dev/access-modifiers-in-oops-java?utm_source=hashnode&utm_medium=feed)

In Java, access modifiers are used to set the accessibility (visibility) of classes, interfaces, variables, methods, constructors, data members.

Oct 6, 2021 · 5 min read · techlab.hashnode.dev  
Read the article

-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)
-   [#java](https://hashnode.com/tag/java)
-   [#computer-science](https://hashnode.com/tag/computer-science)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Snehal S](https://hashnode.com/@TechLab)

@TechLab · Karnataka, India

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

CS Undergrad, Enthusiastic programmer

I am a computer science undergrad looking for opportunities in software fields.

## Responses

Comments are turned off for this post.
