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

What is c# windows form application?

493


Which control cannot be placed in mdi?

524


What do you mean by stack and heap in c#?

482


What are the characteristics of c#?

470


What exactly happens when we debug and build the program?

2173






Give some examples of commonly used i/o classes?

490


Which of these statements correctly declares a two-dimensional array in c#?

648


What is querystring in c#?

485


How Reflection is used and what it's significance ?

520


What is the difference between iqueryable and ienumerable?

455


What is winforms c#?

475


What is a console?

494


Explain synchronous and asynchronous operations?

530


What is a Managed Code??

532


How can we set class to be inherited, but prevent the method from being over-ridden?

528