Default methods

GPTKB entity

Statements (26)
Predicate Object
gptkbp:instance_of gptkb:language
gptkbp:bfsLayer 3
gptkbp:bfsParent gptkb:Java_Enhancement_Proposal
gptkbp:addresses limitations of interfaces
gptkbp:allows abstract classes
adding new methods to interfaces
gptkbp:are default keyword
public or protected
gptkbp:can_be implementing classes
gptkbp:can_create interfaces only
gptkbp:can_lead_to diamond problem in multiple inheritance
gptkbp:descendant subinterfaces
gptkbp:enables backward compatibility
gptkbp:enhances interface functionality
gptkbp:has_conflict_with static methods in interfaces
https://www.w3.org/2000/01/rdf-schema#label Default methods
gptkbp:improves API evolution
gptkbp:introduced gptkb:Java_8
gptkbp:is_considered part of the interface's contract
gptkbp:is_part_of gptkb:Java_SE_8_specification
gptkbp:is_similar_to virtual methods in C++
gptkbp:is_used_for provide utility methods
gptkbp:is_used_in functional interfaces
gptkbp:is_utilized_in interface reference
gptkbp:provides default implementation
gptkbp:supports multiple inheritance of behavior