-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.java
More file actions
31 lines (26 loc) · 796 Bytes
/
App.java
File metadata and controls
31 lines (26 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.houarizegai.calculator;
import com.houarizegai.calculator.ui.CalculatorUI;
public class App {
/**
* This method is the entry point of the program.
* It creates an instance of the CalculatorUI class and starts the calculator application.
*
* @param args the command line arguments
* @throws Exception if an error occurs during the execution of the program
*
* Example usage:
*
* ```java
* public static void main(String[] args) {
* try {
* new CalculatorUI();
* } catch (Exception e) {
* System.out.println("An error occurred: " + e.getMessage());
* }
* }
* ```
*/
public static void main(String[] args) {
new CalculatorUI();
}
}