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


Please Help Members By Posting Answers For Below Questions

Is nullable type c#?

721


What is type safe code?

692


What is iqueryable?

671


how encapsulation is implemented in c#

883


Is stringbuilder thread safe c#?

666


Explain concurrency with aop?

770


Can struct inherit from class c#?

755


Will the following code compile and run?

760


Why do we need nullable types in c#?

941


Give an example of a ctype.

796


What is the data provider name to connect to access database?

748


Explain the difference between pass by value and pass by reference.

768


What is static class in C#?

796


What is a collection class in c#?

701


What is difference between private and protected?

772