Skip to content

Latest commit

 

History

History

Files_and_Data_Structures_Lab_13

Java - Files and Data Structures (Lab 13)

  1. Write a Java program to find the last longest and last shortest word in a text file.

  2. Write a Java program to get a list of all files whose extension is .doc and .pdf under a directory names from the given dynamic directory path exists in your hard disk. Also determine whether the directory had read and write permission

  3. Write a Java program to perform following operation on the ArrayList collections.

    • insertion
    • retrieve element at specific index
    • update specific index element by the given element
    • remove a particular element
    • search and sorting on the array list
  4. Write a Java program to support in storing the user defined object of Employee class ( add required members) in HashSet collection frame work. Support insertion, deletion and searching operation on the HashSet.