Question: What method can I use for string type that is equivalent to addLast() or addFirst() for int? I used these method for string type and
What method can I use for string type that is equivalent to addLast() or addFirst() for int? I used these method for string type and it shows "The method addLast(int) is undefined for the type String" error.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
