Can we define a variable with the access modifier private
in an interface?
Answer Posted / murugavel
No..Not possible. Interface is only having methods. We can't
declare variables on it. The methods also be a public.
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
How do you implement thread synchronization in c#?
Explain constructor in c#?
Explain about WSDL
What is check/uncheck?
Is there a way of specifying which block or loop to break out of when working with nested loops?
Can we inherit a private class in c#?
Which namespaces are necessary to create a localized application?
What do you mean by streamreader/streamwriter class in c#?
Differentiate between copy and default constructor.
Write a program in c# to find the angle between the hours and minutes in a clock?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
What is written in c#?
Can a struct be null?
What is stringreader in c#?
What is wrong with the sample program below?