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 use of parse in c#?
What are the 3 elements of delegation?
Can we override static class in c#?
What is array formula?
What is the use of static in c#?
What is desktop GUI application?
What is serialization in c#?
What is dependency in software?
How do I create a .exe file?
Can a struct inherit from an interface in c#?
What are the Types of assemblies that can be created in dotnet
Is c# an open source?
What is a deadlock lock?
Can enum have methods c#?
Is int a struct in c#?