GfG QA is closing soon... Please refer PRACTICE or GfG now on wards !!

Pick the odd one out

I could not figure out which is the odd one out of these. Please help
 1. Parametric functions
 2. Parametric Modules
 3. Templates
 4. Generics

asked Jan 6, 2016 by anonymous

2 Answers

in some languages functions and modules are same, so i think generics is the correct choice as this is very general while the others are specifc


answered Jan 11, 2016 by harshitgarg

Templates are used in c++.

Generics are used in Java.

parametric functions may mean that functions with parameters and we have them in c++ and java.

So, remaining parametric modules, a module may have multiple meanings like it may be single compilation unit that usually consists of a header file and a source file etc.,

So, parametric module may be the answer.

answered Feb 1, 2016 by teja18