Course Title: Modern Programming Language Please Java Language Code Question : Create a Java Project With Your name as “MJibranAKramProjectQNo1”, add a class to this Project, Class name should be MJibranAkram with 18Arid2891 as “MJibranAkram18Arid2891” (a) Add a Method to Accept names and marks of n students from user, enter the value of n from User (b) Ensure that valid data is entered. If user enters an invalid data, then appropriate message should be displayed using Message Dialog Box e.g. ‘Name cannot be a number’ or ‘Marks must be an integer value’ (c) Add another Method, to Display this data in descending order according to marks such that name of student having maximum marks should come at the top and the name of student having minimum marks should come at the bottom.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 20RQ
icon
Related questions
Question

Course Title: Modern Programming Language

Please Java Language Code

Question :

Create a Java Project With Your name as “MJibranAKramProjectQNo1”, add a class to this Project, Class name should be MJibranAkram with 18Arid2891 as “MJibranAkram18Arid2891

(a) Add a Method to Accept names and marks of n students from user, enter the value of n from User
(b) Ensure that valid data is entered. If user enters an invalid data, then appropriate message should be displayed using Message Dialog Box e.g. ‘Name cannot be a number’ or ‘Marks must be an integer value’

(c) Add another Method, to Display this data in descending order according to marks such that name of student having maximum marks should come at the top and the name of student having minimum marks should come at the bottom.

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Unreferenced Objects
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage