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...

What are generic functions and generic classes?

Answer Posted / draku

Generic functions are functions which are not used for any
particular datatype..they are useful for anydatatype Ex: if
you write code for the Sorting program using templates then
the function is useful for any data type to sort...Generic
classes are same as generic functions

Is This Answer Correct ?    41 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use oops?

1010


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

2108


How do you define social class?

1060


What are benefits of oop?

1127


what are the realtime excercises in C++?

2833


which feature are not hold visual basic of oop?

2190


Write a program to reverse a string using recursive function?

2337


What is encapsulation example?

1050


Prepare me a program for the animation of train

2472


What is abstraction and encapsulation?

1011


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

2494


Can you explain polymorphism?

1104


What is encapsulation with real life example?

1032


What is oops concept with example?

1011


What is class and object in oops?

1138