// a) Write a java program to accept names of ‘n’ cities, insert same into array list // collection and display the contents of same array list, also remove all these elements.
A1. Program to define a thread for printing text on output screen for ‘n’ number of times. Create 3 threads and run them. Pass the text ‘n’ parameters to the thread constructor. Example: i. First ...