---
title: "Can we define private and protected modifiers for variables in interfaces?"  
description: "Can we define private and protected modifiers for variables in interfaces?"  
author: "Anonymous User"  
published: 2015-04-21  
updated: 2020-09-24  
canonical: https://www.mindstick.com/interview/2416/can-we-define-private-and-protected-modifiers-for-variables-in-interfaces  
category: "java"  
tags: ["java", "interface"]  
reading_time: 1 minute  

---

# Can we define private and protected modifiers for variables in interfaces?

No, they are implicitly public.

## Answers

### Answer by Anonymous User

No, they are implicitly public.


---

Original Source: https://www.mindstick.com/interview/2416/can-we-define-private-and-protected-modifiers-for-variables-in-interfaces

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
