100% found this document useful (1 vote)
7K views6 pages

C# Oops Interview Questions Answers With Example PDF

The document discusses C# OOPS interview questions and answers with examples. It provides 6 questions about OOPS concepts in C# like inheritance, abstract classes, constructors, etc. and explains the answers. For each question, it clearly states the answer and provides a screenshot example to illustrate the concept. The questions cover topics like the order in which base and derived class constructors are called, whether abstract methods can be declared in non-abstract classes, whether constructors can return values, and how to call the base class parameterized constructor first.

Uploaded by

Vj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
7K views6 pages

C# Oops Interview Questions Answers With Example PDF

The document discusses C# OOPS interview questions and answers with examples. It provides 6 questions about OOPS concepts in C# like inheritance, abstract classes, constructors, etc. and explains the answers. For each question, it clearly states the answer and provides a screenshot example to illustrate the concept. The questions cover topics like the order in which base and derived class constructors are called, whether abstract methods can be declared in non-abstract classes, whether constructors can return values, and how to call the base class parameterized constructor first.

Uploaded by

Vj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

11/21/2014

C#OOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLE(.NETC#)
Home Search MemberList Calendar Help

HelloThere,Guest!! Username

Tutoriz/Career/InterviewQuestions/Answers

Login

Rememberme

Currenttime:11212014,08:58PM
Register|LostPassword?

/ C#OOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLE(.NETC#)
ThreadRating:

SponsorAds

C#OOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLE(.NETC#) ThreadedMode|LinearMode
SponsorAds

Thissiteis
availablefor
Sale
Contactme
at
[email protected]

C#OOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLE(.NETC#)

C#OOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLES
HifriendsthistimeIcomewithOOPSinterviewquestionsanswerswithuserfriendlyformat.Here
areexampleswithscreenshots.Whichwillhelpyoutounderstandoopsconcept.
Thanksforvisit..
OOPSQUESTIONSANSWERS:
1.WehavetwoclassesBaseClassandchildClass,ChildClassinheretbaseclass.Ifwemake
theobjectofchildclassthenwhichclasscounstructorcalledfirst?
Ans:Baseclassconstructorwillbecallfirst.

SponsorAds
MostPopularPosts

FREEFREESQLEBOOKFREE

100SQLINTERVIEWQUERI

ASP.NETINTERVIEWQUES
http://tutoriz.com/Thread201
LATESTASPNET...

JqueryInterviewQuestions
Answers
www.tutoriz.com/ThreadJQU
INTERVIEWQUESTIONS......
JAVASCRIPTINTERVIEW
QUESTIONS
http://tutoriz.com/Thread
JAVASCRIPT...

Create3Tier/LayerArchite
MVC
www.tutoriz.com/ThreadCRE
TIERARCHITECTUREINASP..

CreateNTier/LayerArchite
www.tutoriz.com/ThreadNTI
LAYERARCHITECTURE...

Asp.netViewStateIntervie
Questions
www.tutoriz.com/ThreadQUIZ
NETVIEWSTATE.....

RazorViewEngineInterview
www.tutoriz.com/ThreadTOP
RAZORVIEWENGINE
INTERVIEW.....

CreateProcedurein5minut
completedatabase
www.tutoriz.com/Thread
AUTOMATICALLYCREATE...

Asp.netStateManagement
InterviewQ&A
www.tutoriz.com/ThreadTOP
ASPNETSTATEMANAGEMEN
Connectwithus
FindusonFacebook

2.CanwedeclareanAbstractmethodinnonabstractclass?
Ans:No

Tutoriz.com
Like

443peoplelikeTutoriz.com

Facebooksocialplugin

http://tutoriz.com/ThreadCOOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLENETC

1/6

11/21/2014

C#OOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLE(.NETC#)

3.Canwegivethereturntypeofconstructor?
Ans:No

4.Ifwehaveanabstractmethodinbaseclass,thenwemustneedtooverride(orusenew
keyword)itornot?
Ans:Yes,ifwenotoverrideitthenitgiveerror.

5.WeknowthatBaseclassconstructorcalledfirst.Butifwecreatingobjectwith
parameters,andbaseclasshavebothconstructordefaultandparameterized,thenwhich
constructorofbaseclasscalledfirst.
Ans:Baseclassdefaultconstructorcalledfirst.

http://tutoriz.com/ThreadCOOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLENETC

2/6

11/21/2014

C#OOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLE(.NETC#)

6.Thenwhatyoucandothatbaseclassparameterizedconstructorcallfirst.
Ans:Wecanuse"Base"keyword

vikas.ahlawat

Administrator

04272013,05:54PM(Thispostwaslastmodified:0720201311:07AMbyvikas.ahlawat.)

http://tutoriz.com/ThreadCOOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLENETC

Posts:176
Joined:Nov2012
Reputation:0
Post:#1

3/6

11/21/2014

C#OOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLE(.NETC#)

RE:C#OOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLE(.NETC#)

NicePost!!

http://tutoriz.com/ThreadCOOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLENETC

4/6

11/21/2014

C#OOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLE(.NETC#)

sachin.kumar

Posts:1
Joined:Jun2013
Reputation:0

JuniorMember

06042013,08:44AM

Post:#2

SponsorAds
NextOldest|NextNewest

EnterKeywords

PossiblyRelatedThreads...
Thread:

Author

Replies:

Views:

LastPost

TOP100SQLSERVERINTERVIEWQUESTIONS
QUERIESEXAMPLEPDF

vikas.ahlawat

4,945

0905201407:28AM
LastPost:vikas.ahlawat

TOP10MICROSOFTINTERVIEWQUESTIONS
ANSWER|GLASSDOOR

vikas.ahlawat

4,832

0515201410:47PM
LastPost:vikas.ahlawat

FUNNY.NETINTERVIEWQUESTIONSBY
ShivprasadKoirala

vikas.ahlawat

7,704

0429201409:44PM
LastPost:vikas.ahlawat

HRInterviewTipsforFreshersandExperienced
preet.ahlawat
PDF

3,835

0423201404:59PM
LastPost:preet.ahlawat

MainframeInterviewQuestionsandAnswers
PDF

vikas.ahlawat

1,747

0328201412:36PM
LastPost:vikas.ahlawat

InterviewQuestionsTipsforBabysitters&
NanniesPDF

vikas.ahlawat

2,177

0225201404:45PM
LastPost:vikas.ahlawat

ASP.NETWeb.configFilerelatedInterview
QuestionsforFresherandExperienced

vikas.ahlawat

24,255

0128201406:36PM
LastPost:vikas.ahlawat

BigData&HadoopInterviewQuestionsand
AnswersforExperienced

vikas.ahlawat

12,529

0127201408:05PM
LastPost:vikas.ahlawat

ObjectiveType:TrickySQLQueriesInterview
QuestionsandAnswers|Latest

vikas.ahlawat

18,690

0121201406:01PM
LastPost:vikas.ahlawat

MostImportantAustralianStudentVISA's
InterviewQuestionsAnswers

vikas.ahlawat

2,183

0105201412:42PM
LastPost:vikas.ahlawat

ViewaPrintableVersion

ForumJump:

InterviewQuestions/Answers

SendthisThreadtoaFriend
Subscribetothisthread

User(s)browsingthisthread:2Guest(s)

ContactUs|Tutoriz|ReturntoTop|ReturntoContent|Lite(Archive)Mode|RSSSyndication

English(American)

powered_byMyBB

http://tutoriz.com/ThreadCOOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLENETC

5/6

11/21/2014

C#OOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLE(.NETC#)

LiveTrafficFeed

AvisitorfromHyderabad,
AndhraPradeshviewed
"CHETANBHAGATHALF
GIRLFRIENDPDFFREE
DOWNLOAD+FLIPKART"
RealtimeviewMenu

http://tutoriz.com/ThreadCOOPSINTERVIEWQUESTIONSANSWERSWITHEXAMPLENETC

6/6

You might also like