I don't understand how to swap 2 random strings in LinkedList.  

I know how to swap Integers but Strings are too diferent

```java
import java.util.*;
import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        LinkedList<String> ll = new LinkedList<>();
        Scanner sc = new Scanner(System.in); 
        System.out.println("enter total count of elements -> ");
        int num = Integer.parseInt(sc.next());

        while(num>0) {
            ll.add(sc.next());
            num--; 
        }
        sc.close();
        System.out.println(ll);
    }
}

```