We all come around situations during programming, where we need to determine the types of variables or functions. Sometimes, there comes a use case when you don’t actually know the type of variable when the program was written(during compile time), but you need to determine it at runtime. Maybe, you…