static structure | Sololearn: Learn to code for FREE!

+11

static structure

Is there a difference in the static structure in interface and class?

2/9/2019 8:30:58 PM

Hosseinam

2 Answers

New Answer

+6

Tejas Gupta thanx I know the difference between class and interface but my question is that is there a difference between the static method in interface and class in the meta-space?

+5

Shruthi thanx but we can define a static method in the interface since Java 8 (eke default method)