why an summary category implementing an interface skip declaration/implementation interface's methods?


a extraordinary thing happens java an summary category exercise an interface: interface's methods totally blank (i.e. conjunction an summary chapter an tangible doing present), nonetheless compiler does complain.



for example, given interface:



public interface ianything {
vacant m1();
vacant m2();
vacant m3();
}


the following summary category gets merrily collected but warning an error:



public summary category abstractthing implements ianything {
open vacant m1() {}
open vacant m3() {}
}


can explain why?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?