0% found this document useful (0 votes)
2 views1 page

Assignment 1

The document outlines an assignment for an Advanced Java course (BCS613D) consisting of 23 programming tasks. These tasks include creating and manipulating various Java collections such as ArrayList, LinkedList, HashSet, and TreeSet, as well as developing Swing applications for user interface components. The assignment aims to enhance understanding of Java data structures and GUI programming.

Uploaded by

nandanms030
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Assignment 1

The document outlines an assignment for an Advanced Java course (BCS613D) consisting of 23 programming tasks. These tasks include creating and manipulating various Java collections such as ArrayList, LinkedList, HashSet, and TreeSet, as well as developing Swing applications for user interface components. The assignment aims to enhance understanding of Java data structures and GUI programming.

Uploaded by

nandanms030
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Advanced Java – BCS613D

Assignment 1

1. Write a java program show a simple use of ArrayList. (An array list creation,addind
strings ,
Remove few elements from the list and display array contents.
2. Write a java program to convert ArrayList into an array.
3. Write a java program to illustrate LinkedList.
4. Write a java program to demonstrate HashSet and LinkedHashSet.
5. Write a java program to demonstrate TreeSet.
6. Write a java program to demonstrate ArrayDeque.
7. Write a java program to demonstrate an Iterator with an ArrayList.
8. Write a java program to demonstrate Usage of ListIterator Iterating Forward and
Backward.
9. Write a java program to demonstrate Spliterator with an ArrayList.
10. Write a java program that uses a LinkedList to store mailing addresses.
11. Write a java program to demonstrate collection Algorithm.
12. Write a java program illustrates how to use some of the methods of the Arrays class.
13. Write a java program demonstrates overriding toString( ) for the Box class.
14. Write a java program uses compareTo() to determine sort ordering for a bubblesort.
15. Write a java program to illustrate various index methods to search inside of a String.
16. Develop a java program to count the occurrence of character in a given string.
17. write a java program to remove duplicate characters in a given string and display new
string without any duplicates.
18. Write a simple swing application program to displays a short text message using
JFrame container to hold an instance of a JLabel.
19. Write a java swing program that handles the event generated by a Swing push button.
20. Write a java swing program that Paint lines to a panel.
21. Write a java swing program illustrates how to create and display a label containing
both an icon and a string.
22. Write a java swing program that illustrates JTextField.
23. Write a java swing program to Demonstrate JToggleButton

You might also like