Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 683 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 683 Bytes

CheckJavaProgram

Description: Using an appropriate data structure write a program that makes sure a JAVA program’s grouping symbols match correctly. These are symbols like parentheses ( ), curly braces { }, Angle brackets < >, and Brackets [ ].

For example, your program should print an error message (about an incorrect match) if your java source file contains the following class definition:

class Wheel {
public void inflate(int psi {
System.out.println("Inflating to " + psi + "psi");
} }

Use command like arguments to read the JAVA source-code file

Installation:

  1. Download the project and open in any Java compatible IDE
  2. Run the project