GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Concepts  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 53 of 64    Print  
what is the use of procedure overriding
when do we use that procedure overriding


  
Total Answers and Comments: 2 Last Update: January 07, 2008     Asked by: thulasiganapathy 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 22, 2007 09:21:33   #1  
Sukrath Member Since: December 2007   Contribution: 2    

RE: what is the use of procedure overriding
To  supress the base class virtual method and wanted derived method to be called then Base class virtual method is overrided in the derived class.

class A

{

public virtual void func1()

{

Console.Write("Base function1");

}

}

class B : A

{

public override void func1()

{

Console.Write("Base function2");

}

}

static void Main(string[] args)

{

A a = new B();

a.func1();

}


 
Is this answer useful? Yes | No
January 07, 2008 05:15:49   #2  
inbox4rakesh Member Since: January 2008   Contribution: 2    

RE: what is the use of procedure overriding
So far I know. In OOPS there is nothing like Procedure Overriding. However, you have method (function) overriding. If the question is about method overriding then the answer would be:

Method overriding is used to add to or replace the functionality of the base class virtual method.

 
Is this answer useful? Yes | No

 Related Questions

From a practical programming viewpoint, polymorphism exists in three distinct forms in Java: Method overloading Method overriding through inheritance Method overriding through the Java interface  
Latest Answer : It holds more than one form, It has two types : -1. compile time polymorphism: - That holds the overloading.2. run time polymorphism: -That holds the overridding.  ...

Latest Answer : This is method of thinking to resolve the problem ( implimenting the applicaiton using software languages).             - POP : Procedure thinking   ( modular approach of solve the problem)         -OOP : Object Thinking ( object ...
Read Answers (4) | Asked by : Manpreet Kaur

when do we use that procedure overriding 
Latest Answer : So far I know. In OOPS there is nothing like Procedure Overriding. However, you have method (function) overriding. If the question is about method overriding then the answer would be:Method overriding is used to add to or replace the functionality of ...


 Sponsored Links

 
Related Articles

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

OOPS Tutorials

Object oriented programming OOP is a computer science term used to characterize a programming language that began development in the 1960’ s The term object oriented programming’ was originally coined by Xerox PARC to designate a computer application that describes the methodol
 

SOA Concepts

SOA Concepts Today the concept of Service Oriented Architecture has become ubiquitous Evidence from recent years establish that SOA is not just about hype but a part of every major Business environment The truth is Service Oriented Architecture can be beneficial to Business only when it is utilized
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

XML Remote Calling Procedure

XML Remote Calling Procedure XML RPC or the XML Remote Calling Procedure is a set of compilations and implementations which allow certain programs to run on complex platforms or operating systems and allows them to make Remote Procedure calls on the Internet The Remote Procedure Calling Protocol use
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

Learn Concepts

Web 2 0 Application Development Programming Concepts OOPS Concepts ERP CRM Technology Trends Supply Chain Management Neuro Linguistic Programming Client Server Service Oriented Architecture Category
 

Web 2.0 Concepts

Web 2 0 Concepts There are a number of important innovations which are expected to play a pivotal role in the introduction of Web 2 0 Some of these innovations are applications that are web based One of the most powerful tools that has allowed this is Ajax mosgoogle Ajax is powerful because it has n
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape