Standard LibraryTypesPairMethodssecondOn this pagesecond Method of Pair. second() -> Object Returns the second element of the pair.