Question: Getting the below compilation errors for the Generic class question. Followed the solution provided but still getting these errors. Could you help resolve these errors?

Getting the below compilation errors for the Generic class question. Followed the solution provided but still getting these errors. Could you help resolve these errors?

Getting the below compilation errors for the Generic class question. Followed the

Question:

solution provided but still getting these errors. Could you help resolve these

[INFO] - [INFO] BUILD FAILURE [INFO] [INFO] Total time: 11.309s [INFO] Finished at: 2023-01-17T19:38:14+00:00 [INFO] Final Memory: 20M/563M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project StudentGenericClass: Compilation failure: Compilation failure: [ERROR] /projects/challenge/StudentGenericClass/src/main/java/com/fresco/ScoreList.java:[25,25] incompatible types: Type cannot be converted to double [ERROR]/projects/challenge/StudentGenericClass/src/main/java/com/fresco/StudentList.java:[45,28] incompatible types: Type cannot be converted to double [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. Getting Student Information using Generic Class A generic type is a class or interface that is parameterized over types. In this challenge, you have to create two generic classes for an Array List. There are three classes, StudentClass, StudentList, and ScoreList. In StudentClass, there is a getQuery() function that contains the input data. In getQuery (String studentData, String query), studentData is a dataset that differs based on the query type. Query is the conditional string to perform an operation. There are five types of queries: Query Type 1: Find student names beginning with a particular letter. Query Type 2: Find students who have a specific blood group that is given in the input. Query Type 3: Find the number of students who scored higher than the specified threshold score. Query Type 4: Find the average of student marks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!