Can we create instance for Abstract class?
Answer Posted / lakshminarayana golla
we can create object in 4 ways to create an object:
1.Using 'new' operator.
2.Using class.forName( classname ).newInastance();
3.Using clone();
4.Using getInstance();
can anybody explain me what is the difference between those
above 4 things??
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Define an assembly in .net?
Do extension methods have to be static?
What are the advantages of generics in c#?
What is the difference between namespace and class in c#?
What is difference between continue and break in c#?
Can arraylist hold primitive types?
When should we use sealed class in c#?
What are virtual classes in c#?
Can you access a hidden base class method in the derived class?
Can main method be final?
If the original method is not static you can declare an override method to be static or not?
Are objects passed by reference in c#?
What is console based application?
Why do we need nullable types in c#?
Give an example of removing an element from the queue?