Default methods

GPTKB entity

Statements (27)
Predicate Object
gptkbp:instance_of gptkb:Java_SE
gptkbp:allows adding new methods to interfaces
gptkbp:are_defined_as public or protected
gptkbp:are_defined_with default keyword
gptkbp:are_not_allowed_in abstract classes
gptkbp:are_not_considered part of the interface's contract
gptkbp:are_part_of gptkb:Java_SE_8_specification
gptkbp:can implementing classes
gptkbp:can_be_declared_in interfaces only
gptkbp:can_be_invoked_using interface reference
gptkbp:can_be_used_in functional interfaces
gptkbp:can_be_used_to provide utility methods
gptkbp:can_coexist_with static methods in interfaces
gptkbp:can_lead_to diamond problem in multiple inheritance
gptkbp:enables backward compatibility
gptkbp:enhances interface functionality
https://www.w3.org/2000/01/rdf-schema#label Default methods
gptkbp:improves API evolution
gptkbp:inherits_from subinterfaces
gptkbp:introduced_in gptkb:Java_8
gptkbp:is_similar_to virtual methods in C++
gptkbp:provides default implementation
gptkbp:support multiple inheritance of behavior
gptkbp:were_introduced_to_address limitations of interfaces
gptkbp:bfsParent gptkb:Java_SE
gptkb:Java_8
gptkbp:bfsLayer 4