Open In App

Program to Convert a Vector to List in Java

Given a Vector, the task is to Convert Vector to List in Java

Examples:



Input: Vector: [1, 2, 3, 4, 5]
Output: List: [1, 2, 3, 4, 5]

Input : Vector = [a, b, c, d, e, f]
Output : List  = [a, b, c, d, e, f]

Article Tags :