forked from upgrad-edu/tm-java-git-q-new-branch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
23 lines (16 loc) · 648 Bytes
/
Main.java
File metadata and controls
23 lines (16 loc) · 648 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.company;
public class Main {
public static void main(String[] args){
Flight Airline =
new Flight("1234", "AirIndia",
200, 150);
TouristTicket customer =
new TouristTicket("243463", "Bengaluru",
"Karnataka", "345",
"8.30", "10.30", 50,"b4",9000f,true);
RegularTicket confirm =
new RegularTicket("5676", "Delhi",
"Mumbai", "456",
"7.30", "10.30", 50,"c4",7000f,true);
}
}