Posts

Showing posts from December, 2022

OOPS(20CS57) LAB EXTERNAL (2022-23)

SET-1 1. Develop a java program to implement mouse events like mouse pressed, mouse released, and mouse moved by means of adapter classes. 2.  Develop a java program to print the collection data by using the following ways i) for loop ii) for-each loop iii) Iterator iv) ListIterator SET-2 1.  Five bikers compete in a race such that they drive at a constant speed, which may or may not be the same as the other. To qualify for the race, the speed of a racer must be more than the average speed of all five racers. Take as input the speed of each racer and print back the speed of qualifying racers. 2.  Develop a java program to illustrate the concept of inter-thread communication. SET-3 1.  Write a JAVA program to implement the Rhombus pattern reading the limit from the user. 2.  Develop a java program to create an interface named Vehicle which contains two abstract methods (Specifications (), Display ()). Provide two classes named Two-wheeler, Four-wheelers that is implemented by that i