Can we define a variable with the access modifier private
in an interface?
Answer Posted / bindu sharma
No,In an interface we cannot declare any variable either it
is public or private or any other access modifiers.
| Is This Answer Correct ? | 29 Yes | 4 No |
Post New Answer View All Answers
Why singleton is sealed?
How to prevent the error while updating ui control from another thread?
How is a string immutable?
What is tuple in c#?
Ho we can see assembly information?
What is windows form in c#?
Which is better javascript or c#?
How do you prevent a class from being inherited?
Is equal in c#?
What is the components of window?
What is a property in c#?
Can dictionary have duplicate keys c#?
What are constants in c#?
Difference between value and reference type. What are value types and reference types?
How can you force derived classes to provide new method implementations for virtual methods?