Can we define a variable with the access modifier private
in an interface?
Answer Posted / arpita malviya
Interface cannot contains fields , irrespective of its
access modifier.
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
how to sort an array in c#
What exactly is serverless?
What is difference between continue and break in c#?
What does it mean to override a method?
What is escape character in c#?
What is the advantage of extension method in c#?
Give an example of a directcast.
What do you understand by the terms datareader object and dataset object?
Can you change the value of a constant filed after its declaration?
Why main method is static in c#?
What are the properties of a string class?
How to find the current application file path while runtime?
What are reflections in c#?
Can you inherit from a static class in c#?
Difference between debug.write and trace.write?