Can variables defined in interface. If yes how we can
call/use it in class.
Answer Posted / sujai cn
No we can't define variables in interface.
Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is a decimal in c#?
Do we get an error while executing the “finally” block in c#?
What are the 2 broad classifications of fields in c#?
What is the usage of Enumeration in C# Programming and is it good to use or not ?
Explain about generics in c#.net?
Can we inherit private class in c#?
Explain the differences between static, void and public in c#?
Why singleton is sealed?
How more than one version of an assembly can keep in same place?
List down the differences between “dispose” and “finalize” methods in c#.
In which way you can convert a value-type to a reference-type?
What is the relation between classes and objects?
What is as keyword in c#?
Why are strings in c# immutable?
Can we override interface methods in c#?