Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

if i have same function with same number of argument but
defined in different files. Now i am adding these two files
in a third file and calling this function . which will get
called and wht decide the precedence?

Answer Posted / s.verma

The return type of the function and the type of arguments
passed to the function will determine which function will be
called.

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 oops and why we use oops?

991


write string class as your own class in java without using any built-in function

2443


• What are the desirable attributes for memory managment?

2167


Why do we use oop?

1041


What type of loop is a for loop?

1049


What is polymorphism what is it for and how is it used?

971


Which language is not a true object oriented programming language?

1062


Why is abstraction needed?

978


What is the fundamental idea of oop?

1081


How do you answer polymorphism?

1007


What is inheritance in oop?

982


What is encapsulation process?

1004


What is an example of genetic polymorphism?

1117


How is class defined?

1071


Why is destructor used?

959