Sie sind auf Seite 1von 6

22/01/2015

Objectorientedprogramminginterviewquestions,Oopsinterview

Objectorientedprogramminginterviewquestions
Askaquestion

Search

InterviewQ&A Videos Placementpapers HRinterview CV Coverletter GD Aptitude CurrentAffairs Exam English CareerQ&A Onlinetest
Jobs

C#InterviewQuestions
InterviewAnswers
InterviewTest

Objectorientedprogramminginterviewquestions

Part1Part2Part3Part4Part5

DownloadOopsinterviewquestionsandanswers
OopsinterviewquestionspostedonJune27,2013at16:05PMbyKshipraSingh

1.WhatarethebasicconceptsofOOP?
ThefourbasicconceptsofOOPare:
a.)Abstraction
b.)Polymorphism
c.)Inheritance
d.)Encapsulation

2.Whatisdynamicorruntimepolymorphism?
Itisalsoreferredtoasmethodoverriding.Here,therecanbetwomethodswithsamenameandsignaturebut
differentimplementation.
Thefunctionhereisresolvedduringruntimeratherthancompiletime.

3.WhatisEncapsulation?
Itisatechniquetohidethepropertiesandbehavioursofanobject.
Theaccessisprovidedonlyasrequired.
Itpreventsotherobjectsfromalteringoraccessingthepropertiesofanencapsulatedobject.

4.Differentiatebetweenabstractionandencapsulation.
Abstractionisdesignorientedwhileabstractionisimplementationoriented.
Thefocusofabstractionisontheinterfacei.e.theoutsideviewoftheobjectwhileencapsulationpreventsother
objectsormethodsfromlookingintothepropertiesandbehaviourofthatobject.

5.WhatisInheritance?
Itistheprocesswhichallowstheobjectsofoneclasstoacquirethepropertiesofobjectsofanotherclass.
Theclassthatinheritsiscalledsubclasswhiletheclassfromwhichtheobjectisinheritediscalledsuperclass.
Inheritancehelpsinreusingthecodeandpolymorphism.

Interviewquestions

6.Explainmethodoverriding.

ASP.NET

AdbyHealthAlert

Whenasubclassdeclaresamethodpossessingsimilarargumentsasamethoddeclaredbyoneofits
superclass,methodoverridingtakesplace.
Usingthistechnique,thebehaviourspecifictoaparticularsubclasscanbedefined.
Themethodsmarkedpublic,finalorstaticcannotbeoverridden

ADO.NET

7.Canyougivesomeexamplesoftokens?

VB.NET

Someoftheexamplesoftokensare:

NETRemoting

Keywords,
Identifiers,
Constants,
Operators,
Brackets,
Commas.

AJAX
C#.NET

NETinterview

C
C++
Java

8.Whatisfriendfunction?

Oops

Friendfunctionisafriendofaclass.
ItisallowedtoaccessPublic,privateorprotecteddataofthatclass.

Datastructure

http://careerride.com/ObjectorientedprogrammingInterviewQuestions.aspx

Operatingsystem

1/6

22/01/2015

Objectorientedprogramminginterviewquestions,Oopsinterview
Itcanbedeclaredanywhereintheclassdeclaration
Itdoesnthaveanyeffectofaccesscontrolkeywordslikeprivate,publicorprotected.

Databaseconcepts

9.DefineModularity?

Oracle

Itisthepropertyofbigasystemdividedintosmallmoduleswhichcanbeintegratedaspertherequirement.

Sqlserver
Biztalk

10.Explain:a.)Persistence.b.)Colloboration

Sharepoint

a.)Persistence.
Itisthepropertyofanobjectwhichextendsitsexistenceintospaceandtime.

Notificationservices
Reportingservices

b.)Colloboration
Processbywhichseveralobjectscooperatetodeliverahigherlevelresult.

11.Whatisaternaryoperator?

Serviceorientedarchitecture
Datawarehousing

Itisalsocalledasaconditionaloperator.
Itisanoperatorthatcantakethreearguments.
Thedatatypesofargumentsandresultsaredifferent.

PHP

12.Whataresealedmodifiers?

Projectmanagement

MySQL

Linux

Accessmodifierswhichcannotbeinheritedbyothermethods.
Theycanbeappliedtoproperties,eventsandmethodsbutnottostaticmembers.

Testing
Networking

13.Explain:a.)Staticbindingb.)Dynamicbinding

Softwareengineering

a.)Staticbinding
Itisabindinginwhichthenameoftheclasscanbeassociatedwithitduringcompilation.Alsoreferredtoasearly
binding.

Microsoftsolutionframework
UML

b.)Dynamicbinding
Itisabindinginwhichthenameoftheclasscanbeassociatedwithitduringexecutiontime.Alsoreferredtoas
latebinding.

XML

14.Whatarethedifferentwaysforamethodtobeoverloaded?

SOAP

HTML

CSS

Amethodcanbeoverloadedby:
Varyingthenumbersofparameters
Usingdifferentdatatypesfortheparameters
Usingdifferentsequenceoftheparameters.

Webservices
VBScript
JavaScript

WhatisOOP?
TheobjectorientedprogrammingiscommonlyknownasOOP.MostofthelanguagesaredevelopedusingOOP
concept.Objectorientedprogramming(OOP)isaprogrammingconceptthatuses"objects"todevelopa
system...................
Readanswer

OOADinterviewtest(50questions)
Oopsinterviewtest(20questions)

Jobinterviews
Workingfromhome
ArticlesNishantKumar

WhatarethevariouselementsofOOP?
VariouselementsofOOPare:Object,Class,Method
ClassAclassisacollectionofdataandoperationsondata.Dataandoperations/functions/methodsare
placedtogetherinasingleunit,i.e.,class.Thisfeatureisknownasencapsulation................
Readanswer

WhatarethecharacteristicsofObjectOrientedprogramminglanguage?
SomekeyfeaturesoftheObjectOrientedprogrammingare:Emphasisondataratherthanprocedure,Programs
aredividedintoentitiesknownasobjects,DataStructuresaredesignedsuchthattheycharacterize
objects...............
Readanswer

WhatarethebasicConceptsusedintheObjectOrientedProgramminglanguage?
Object,Class,DataAbstractionandEncapsulation,Polymorphism..................
Readanswer

Explainanobject,classandMethod.
Anobjectisanentitythatkeepstogetherstateandbehaviors.Forinstance,acarencapsulatesstatesuchasred
color,900ccetcandbehaviorsas'Start','Stop'etc.,sodoesanobject.................
Readanswer

DefineEncapsulationandInformationHidinginOOP.

http://careerride.com/ObjectorientedprogrammingInterviewQuestions.aspx

2/6

22/01/2015

Objectorientedprogramminginterviewquestions,Oopsinterview
Encapsulationmeanskeepingactionsandattributestogetherunderasingleunit.Thiscanalsobeunderstood
usingamotorbikeexample.............
Readanswer

ExplainInheritanceandPolymorphisminOOP.
Polymorphismmeanstheabilitytotakemorethanoneform.Anoperationmayexhibitdifferentbehaviorsin
differentinstances..............
Readanswer

WhataretheadvantagesofOOP?
Itpresentsasimple,clearandeasytomaintainstructure.Itenhancesprogrammodularitysinceeachobjectexists
independently...................
Readanswer

OopsJan12,2009at21:14PMbyVidyaSagar

Whatiscomposition?Explainthepurposeofcomposition.
Assemblingexistingcomponentsinsteadofcreatingnewonesiscalledcomposition.InOOPitiscalledasobjects
composition.Itistheprocessofplacingobjectinanotherobject.Itisthemodelofhasarelationship.Anemployee
objectcancontainanobjectoftypeprojectwhichisanotherobject.
Purposeofcomposition:
Amodelbyvalueaggregationcanbederivedbyusingcompositionwhichissemanticallyequivalenttoan
attribute.
Thelifetimeiscoincidentpartasawholeforbothobjects
Ifonepartisremoved,thewholepartalsoremovedwithoutexplicitremovalofindividualparts
Compositioncanbeusedtomodelbyvalueaggregationwhichissemanticallyequivalenttoanattribute.

Whatisanabstractionandwhyisitimportant?
Representingessentialfeaturesbyhidingthebackgroundprocess/details.Inotherwords,itisspecifyingwhatto
dobutnothowtodo.
Abstractionisimportantattheconceptuallevelofanapplication.Ithelpsinunderstandingclearly,whatthe
processandtheflowofanapplication.Theabstractionallowsthecompleteflowanddevelopmentofan
applicationintoastructuredaction.Theconceptuallevelofprojectexecutionisderivedfromabstractionwhichthe
gatewayfortheentireapplicationdevelopment.

TestyourSkills!
C++(20questions)
.NETFramework(26questions)
Databaseconcepts(20questions)
HTML(19questions)
RelatedLink
LearnJavaScript'sOOPfeatures
AspectOrientedProgramming
ExplaintheconceptsandcapabilitiesofAspectOrientedProgramming,AOP.
WhatisAspectinAOP?
AOPapproachaddressesCrosscuttingconcerns.Explain
ThecomponentsofAOPareadvices/interceptors,introductions,metadata,andpointcuts.Explainthem
AOPvsOOPs...........
BusinessProcessExecutionLanguage(BPEL)
WhatisBusinessProcessExecutionLanguage(BPEL)?
BPELvs.workflowfoundation
RoleofBPEL
ExplainaboutBPELOrchestrationandChoreography................
AOPconcurrency
Concurrencyisthesystem'sabilitytoactwithseveralrequestssimultaneously,suchawaythatthreadsdon't
corruptthestateofobjectswhentheygainaccessatthesametime.........
TransparentcachingwithAOP
Togetbetterresultsintermsofspeedandresourcesused,it'ssuggestedtouseacache.Wecanstoreinitthe
resultscorrespondingtothemethods'invocationsaskeyvaluepairs:methodandargumentsaskeyandreturn
objectasvalue................
SecuritywithAOP

http://careerride.com/ObjectorientedprogrammingInterviewQuestions.aspx

3/6

22/01/2015

Objectorientedprogramminginterviewquestions,Oopsinterview
Onceauserisauthenticatedandhasroles,heorshecanworkontheapplicationandperformtheactions
permittedbyanaccesscontrollist,whichaccordingtotheuser'srolesallowscertainoperations................

JobsinTCS
ImmediateRequirement.
SubmitCVtoApply&Find
Jobs!

WriteyourcommentShareKnowledgeandExperience
DiscussionBoard
Oopsinterviewquestions
http://netinformations.com/faq/oops/oops.htm
bradnywells0112201501:12AM
OOPInterviewQuestions
VisitthefollowinglinktolearnsomecommonlyaskedInterviewQuestionsforthejoborvacancyofSoftware
EngineerorSoftware/Web/DesktopApplicationDeveloper.ItalsoincludesOOP,C#,ASP.NET,ADO.NETand
SQLInterviewQuestions.
http://sohaiby.blogspot.com/2013/09/softwareengineerdeveloperinterview.html
sohaib1012201305:26PM
.net

Placementpracticetest:Java|SAP|.NET|Oracle|SqlServer|
whatisoopsin.netandpyiurdefinationplzzzz...
QA|Aptitude|Networking|AllSkills
dinkalpatel0417201212:40PM
.net
whatisoopsin.netandpyiurdefinationplzzzz...
dinkalpatel0417201212:40PM
.net
whatisoopsin.netandpyiurdefinationplzzzz...
dinkalpatel0417201212:40PM
.net
whatisoopsin.netandpyiurdefinationplzzzz...
dinkalpatel0417201212:40PM

http://careerride.com/ObjectorientedprogrammingInterviewQuestions.aspx

4/6

22/01/2015

Objectorientedprogramminginterviewquestions,Oopsinterview

Home| Login| Aboutus | Sitemap| Contactus


Copyright20082015CareerRide.com.Allrightsreserved. Termsofuse |FollowusonFacebook!
Bookmarkto:

http://careerride.com/ObjectorientedprogrammingInterviewQuestions.aspx

5/6

22/01/2015

Objectorientedprogramminginterviewquestions,Oopsinterview

http://careerride.com/ObjectorientedprogrammingInterviewQuestions.aspx

6/6

Das könnte Ihnen auch gefallen