PROGRAM 1
Code a class encapsulating a singly linked list of website objects. A website has two attributes: a URL address (a String, you do not need to use the existing URL Java class) and 10 or fewer keywords describeing the topic of the website. In addition to insert, delete, peek, and toString, add one more method: a method that, based on a keyword, returns all URL addresses in the list containing that keyword. Your elete method should delete an item based on the value of its URL. You also need to include the appropriate client code to test your classes.
PROGRAM 2
Code a class encapsulating a stack of clothes using an array. A clothing item has the following attributes: its name, its color, and whether it can be washed at high temperature. We will limit our stack to 100 clothing items. In addition to push, pop, peek, and toString, add two more methods: a method that returns all the clothing items of a given color, and another method that returns how many clothing items in the stack can be washed at high temperature. You also need to include the appropriate client code to test your classes.