Is it possible to create a constructor in interface ? If it is possible, then how ? Please explain step by step.
Printable View
Is it possible to create a constructor in interface ? If it is possible, then how ? Please explain step by step.
No, because you cannot instantiate a interface, only from a class which implements this interface.
Do you have a specific problem motivating the question?