List listA = new List { 'apple' }; List listB = new List { 'banana' }; listA.addAll(listB); System.debug(listA); // Prints (apple, banana)