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
What is the keyword used to prevent a class from being inherited by another class?
How does it work?
What is a custom attribute?
What is out in c#?
Explain different properties of object oriented systems.
What are the new features in c# 2.0?
What exactly happens when we debug and build the program?
What is the purpose of a constructor in c#?
what is a static constructor?
What are the advantages of using assemble language programming?
Why c# is called c sharp?
How will you get the different language strings?
Describe the ways of cleaning up objects in c#.
Why do we override in c#?
Are enums static c#?