A->B->C (EXTENDS)
How the constructors are called when we created an object of C

Answer Posted / priya

the constructor of class A is called first then Class B and
at the end class C.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of 'using' statement in c#?

485


There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?

1581


what is object-oriented programming (oop) language?

481


What is the size of a decimal?

613


What are primitive types in c#?

529






Can a class have more than 1 destructor?

511


Why do we use public static void main in c#?

463


What are the string functions in c#?

516


Define interface class in c#?

513


What are escape sequences explain with example?

476


What is a dictionary in c#?

492


How do you remove white spaces from a string?

491


What is satellite assembly? And steps to create satellite assembly?

512


Why use a singleton instead of static methods?

459


How can I get around scope problems in a try/catch?

473