Java
Programming and Technical
Programming
Program
Does the compiler creates a default constructor in interfaces?
Read Solution (Total 8)
-
- no because interface data members alredy instilized by the interface
- 9 years agoHelpfull: Yes(2) No(0)
- In interface there is no defalut constructer becoz interface work on constant values
- 9 years agoHelpfull: Yes(1) No(0)
- No , no default constructor
- 9 years agoHelpfull: Yes(0) No(0)
- No , in interface there is no default constructor as we know that data members are allready
there initialized by interface. - 8 years agoHelpfull: Yes(0) No(1)
- interface dont have constructor of their own. even though they are similar to classes..
- 8 years agoHelpfull: Yes(0) No(0)
- no because interface does not have default constructor
- 7 years agoHelpfull: Yes(0) No(0)
- compiler doesn't create the default constrcutor in the Interfaces. because of it works on constant values and constant methods
- 7 years agoHelpfull: Yes(0) No(0)
- No because,using we cant create objects so there is no question of creating default constructor
- 7 years agoHelpfull: Yes(0) No(0)
Java Other Question