public class Stadium extends baseStadium{   public int typeTicket;     int floors;     int seating;     String type;   public float ticketPrice;  public String leagueName="";  public void SetTecketName(String val)     {         leagueName=val;     }     public void setType() {         if (typeTicket == 1) {             type = "VIP";         } else {             type = "Regular";         }     }     public String getType() {         return type;     } public void setPrice() {        if (typeTicket == 1) {             ticketPrice = 250;         } else {             ticketPrice = 100;         }

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

public class Stadium extends baseStadium{   public int typeTicket;     int floors;     int seating;     String type;   public float ticketPrice;  public String leagueName="";  public void SetTecketName(String val)     {         leagueName=val;     }     public void setType() {         if (typeTicket == 1) {             type = "VIP";         } else {             type = "Regular";         }     }     public String getType() {         return type;     } public void setPrice() {        if (typeTicket == 1) {             ticketPrice = 250;         } else {             ticketPrice = 100;         }     }     public void setFloors(int floors) {         this.floors = floors;     }     public int getFloors() {         return floors;     }     public void setSeating(int seating) {         this.seating = seating;     }     public int getSeating() {         return seating;     }     public void printDetails() {         System.out.println("Ticket Details:");         System.out.println("Ticket Type: " + getType());         System.out.println("Floors: " + getFloors());         System.out.println("Seating: " + getSeating());     }     public void printMatch() {         System.out.println("Match: Manchester United vs Liverpool");     }      public void printLeagueNane() {         System.out.println("League Name:"+leagueName);     }          public void printData() {         System.out.println("Date: 10th February 2023");     }     public void printTime() {         System.out.println("Time: 8:00 PM");     }     public void printStadium() {         System.out.println("Stadium: Old Trafford");     }     public void printLocation() {         System.out.println("Location: Manchester, England");     } }  public class ticket implements TicketService {     public int ticketNumber = 1234;          public void PlusTictNo()     {         ticketNumber+=1;     }     //hrer Overloading on GenerateRandomNo method    public int GenerateRandomNo()    {         Random rand = new Random();        int upperbound = 2515;       int int_random = rand.nextInt(upperbound);       return int_random;    }     public int GenerateRandomNo(int upper)    {         Random rand = new Random();        int int_random = rand.nextInt(upper);       return int_random;    }     @Override     public void PrintData(String val) {        System.out.println(val);     } }  public interface TicketService {     void PrintData(String val); } public abstract class baseStadium {           abstract void printDetails() ;      }//I want to draw an environmental scheme for this code, the example of the image, every separate class 

n of Saudi Arabia
Qura University
of Computing at Alqunfudha
er Science Department
Name:
Members( Name/Student ID):
s Description:
●
rogress, draw a class diagram to model your entire project, showing class attributes an
cions, roles and multiplicity.
.
nple:
Upload your class diagram as pdf or png file, including group members names a
name.
Customer
name: String
address
You can use Visual Paradigm - Online Office Suite (visual-paradigm.com) to draw
Cash
-cash Tendered: float
مشاركة
Order
جـامعـة ام الفـرى
ك الحب الي بالقسما
-date: Date
status: String
calcSub Tota)
calcTax
+calcTotal)
calcTotalWeight
Payment
-amount toat
Check
name String
-bankiD String
autorized
Semester 2. 1
Course: Ob
Project Mo
Group Project Number:
Progress:4
OrderDetail
quantit
ne temtaxStatus: String o
1caic Sub Total
calcWeight)
calcTa
Credit
name String
type Sting
Branwen
pate
authorized
عرض المحمول
tem
shipping Weight
description String
gelPricef or Quantity
gefa
inStock)
DO
DO
أدوات
Transcribed Image Text:n of Saudi Arabia Qura University of Computing at Alqunfudha er Science Department Name: Members( Name/Student ID): s Description: ● rogress, draw a class diagram to model your entire project, showing class attributes an cions, roles and multiplicity. . nple: Upload your class diagram as pdf or png file, including group members names a name. Customer name: String address You can use Visual Paradigm - Online Office Suite (visual-paradigm.com) to draw Cash -cash Tendered: float مشاركة Order جـامعـة ام الفـرى ك الحب الي بالقسما -date: Date status: String calcSub Tota) calcTax +calcTotal) calcTotalWeight Payment -amount toat Check name String -bankiD String autorized Semester 2. 1 Course: Ob Project Mo Group Project Number: Progress:4 OrderDetail quantit ne temtaxStatus: String o 1caic Sub Total calcWeight) calcTa Credit name String type Sting Branwen pate authorized عرض المحمول tem shipping Weight description String gelPricef or Quantity gefa inStock) DO DO أدوات
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Class
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education