What are generic functions and generic classes?

Answer Posted / nikhil kapoor..

Generic functions are the function which return void ptr...
(void*)...
Generic Classes are template classes...
Basicaly we implement both of them for reusability.. and
abstraction..

Is This Answer Correct ?    28 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1634


What is polymorphism and its types?

585


what is the 3 types of system development life cycle

2425


What is this pointer in oop?

543


This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

1629






What are main features of oop?

622


Can main method override?

577


Why is object oriented programming so hard?

606


Write a program to sort the number with different sorts in one program ??

1906


What is and I oop mean?

607


What does and I oop mean in text?

610


Why is static class not inherited?

589


What does enum stand for?

605


What are two types of polymorphism?

603


What is difference between oop and pop?

606