Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions src/main/java/com/houarizegai/calculator/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,25 @@
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();
Expand Down