Generics

Rule6:Use bounded wildcard to increase API flexibility

mnemonics:PECS –>Producer Extends Consumer Super
comparable and comparator are always consumer so , it will have super e.g. comparator
it will ensure the type safety.
know deep undersatnding of usage

Published by

Unknown's avatar

sevanand yadav

software engineer working as web developer having specialization in spring MVC with mysql,hibernate

Leave a comment