|
INTERVIEW QUESTIONS
MICROSOFT
VISUAL BASIC
DETAILS
Question: What is overloading and overriding ? pl explain diff between them
Answer: Overloading : When you use same method name for diffrent purpose it is call overloading. For example, You can use Add(x,y) method for addition of two parameter, and you can define Add(x,y,z) for addition of three parameter in same class.
Overriding : is the implementing exiting method again. If Area method is implemented in parent class , you can override this method in child class by re-defining this method.
|
|
|
Category |
Visual Basic Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9784 users |
Added on |
7/27/2011 |
Views |
72779 |
Rate it! |
|
|
Question:
What is overloading and overriding ? pl explain diff between them
Answer:
Overloading : When you use same method name for diffrent purpose it is call overloading. For example, You can use Add(x,y) method for addition of two parameter, and you can define Add(x,y,z) for addition of three parameter in same class.
Overriding : is the implementing exiting method again. If Area method is implemented in parent class , you can override this method in child class by re-defining this method. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is oops? what is polymorphism ? does vb supports oops concept in totality? pl explain
|
View Answer
|
|
Dff between OCX , DLL and EXE ?
|
View Answer
|
|
What is interface in vb? pl explain its types in vb ? and theri usage
|
View Answer
|
|
What is activex? why it is reqd in vb? pl explain its usage
|
View Answer
|
|
What is user control?
|
View Answer
|
|
What is diff between std exe project and activex exe project ? pl explain
|
View Answer
|
|
What is option base? diff between option base and option explicit?
|
View Answer
|
|
What is the difference between dao,rdo and ado explain simply ?
|
View Answer
|
|
Difference between subquery and coquery
|
View Answer
|
|
I have modal window(dialog box ready with me) and i want popup, so that user can enter their comments when they delete any task on a ultragrid, how i can get this dialog box to appear on main scree? pl explain
|
View Answer
|
|
What is the difference between c++ and vc++
|
View Answer
|
|
What is Flex Grid control in VB? MSFlexGrid control in VB is used to create applications that present information in rows and columns.Information is displayed in cells.
|
View Answer
|
|
How we can create a controls like textboxes or buttons on runtime according or depends to the output from the database?
|
View Answer
|
|
Which controls can not be placed in MDI ?
|
View Answer
|
|
List out controls which does not have events
|
View Answer
|
|
Which property of textbox cannot be changed at runtime. What is the max size of textbox?
|
View Answer
|
|
How many system controls are available
|
View Answer
|
|
___,_____ and ____ container objects.
|
View Answer
|
|
___ Property is to compress a image in image control.
|
View Answer
|
|
___,___ and __ are difference between image and picture controls.
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Visual Basic Interview Questions & Answers - Exam Mode /
Learning Mode
|