If a class is having 4 variables namely type double,type
integer,type string,type decimal.
If we create an instance of that class those variables which
gets into this instance are value types or reference types?
Answer Posted / anna
if it is a value type in base class , it will also be a
value type in the derived.
if it is reference type, then it is reference.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Is overriding of a function possible in the same class?
Explain About delegates
How can you access a private method of a class?
What is the use of system.environment class in c#.net?
What are access modifiers in c#?
Does constructor return any value in c#?
What is singleordefault?
What is the use of getcommandlineargs() method in c#.net?
Name the connections does microsoft sql server support?
What is variable in c#?
What all details the assembly manifest will contain?
Write a short note on interface?
Why do we need reflection in c#?
What is eager loading in c#?
Is for loop faster than foreach?