What is the difference between sealed
and abstract
classes aside from sealed classes being package-locked and compiler warning you about missing branches in a when
expression?
Mind you I’m not saying that these two differences don’t make a huge difference, especially the latter one is very handy, just wondering if those are just the two only differences?
submitted by /u/ED9898A
[link] [comments]