Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

difference between type and interface

Type aliases and interfaces are very similar, and in many cases you
can choose between them freely. Almost all features of an interface
are available in type, the key distinction is that a type cannot be
re-opened to add new properties vs an interface which is always
extendable.
 
PREVIOUS NEXT
Tagged: #difference #type #interface
ADD COMMENT
Topic
Name
3+5 =