What is a parameterized type?
Answer / beena
A template is a parameterized construct or type containing generic code that can use or manipulate any type. It is called parameterized because an actual type is a parameter of the code body. Polymorphism may be achieved through parameterized types. This type of polymorphism is called parameteric polymorphism. Parameteric polymorphism is the mechanism by which the same code is used on different types passed as parameters.
Is This Answer Correct ? | 0 Yes | 0 No |
Explain "passing by value", "passing by pointer" and "passing by reference" ?
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
What happens when the extern "c" char func (char*,waste) executes?
Write about all the implicit member functions of a class?
What is c++ w3school?
What is the difference between map and hashmap in c++?
What is the best c++ compiler for windows 10?
Define friend function.
What is the protected keyword used for?
an integer constant must have atleast one a) character b) digit c) decimal point
What is a constructor and how is it called?
What is a multimap c++?