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 should you override the tostring() method?
How do I create a .exe file?
How to implement an object pool in c#.net.
What are the fundamental oop concepts?
What is difference between the "throw" and "throw ex" in .net?
explain the nature of the assembly work?
What is console application with example?
Explain publishers and subscribers in events.
What do you mean by generic class in c#?
What is asynccallback c#?
Will the following code compile and run?
How do you inherit a class into other class in c#?
What are the Types of assemblies that can be created in dotnet
Explain about generics in c#.net?
Do loops in c#?