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


Please Help Members By Posting Answers For Below Questions

Is a valid int value?

678


Can abstract class instantiated c#?

664


What is reference types in c#?

672


What's the difference between system.string and system.text.stringbuilder classes?

719


What does break do in loop?

682


Explain metadata in c#.

664


What is Covariance and contravariance in C#?

737


What are the fundamental differences between value types and reference types?

747


List some of the basic string operation?

687


How long will it take to learn c#?

702


How is the syntax written to inherit from a class in C#?Give an example ?

773


In object oriented programming, how would you describe encapsulation in c#?

711


What is the difference between array and arraylist c#?

644


What is readline c#?

645


What is continue in c#?

710