Linear Interface In Java With Example