Task on UML diagram, Java Lambda and streams

Job ID: 32016932

Budget: ₹600 – ₹700 INR

UML diagram for below exercise and modify the existing script for below exercise as per proper methods and naming conventions.

Java Streams Exercise
Assume that an Electronics Shop currently has the following products in its stock for sale:

Task 1: Write a method to filter out all the mobile products and show their names and the
associated price.
Task 2: Write a method that sorts the price from low to high according to a given category and
shows the sorted products.
NOTE: Please use Java Streams for Filter and Sort.

Java Generics Exercise
Assume the above same Electronics Shop data and please complete the following tasks on

Java Lambda Expression Exercise
Use the same above data of the Electronic Shop;
Task 1: Write a Lambda expression to get the total price of the entire stock available in the
shop.
Task 2: Write a Lambda expression to list out and show the products having a price of more
than 50 thousand.