Question: [Part 1] Create a Java program to detect errors in an expression regarding grouping symbols(parenthesis and curly braces). [Minimum Requirement] Create your own GENERIC stack

 [Part 1] Create a Java program to detect errors in an

[Part 1] Create a Java program to detect errors in an expression regarding grouping symbols(parenthesis and curly braces). [Minimum Requirement] Create your own GENERIC stack class. DO NOT USE Java built-in Stack. Test five statements Use two HashMaps (parenthesis and their complement, error number and its message Part 2 Write program that takes a valid mathematical operation in in-fix notation and converts it to post-fix notation then evaluates the expression. (Limitations of the program are that the expression may only contain single digit integers.) [Minimum Requirement] Use the Generic stack that created by Part 1. Test two in-fix notations Use one HashMap (for preference checking) [Submission] Stack211.java (stack operation methods) evaluation1.java(main program of Part 1) evaluation2.java(main program of Part 2) [Part 1] Create a Java program to detect errors in an expression regarding grouping symbols(parenthesis and curly braces). [Minimum Requirement] Create your own GENERIC stack class. DO NOT USE Java built-in Stack. Test five statements Use two HashMaps (parenthesis and their complement, error number and its message Part 2 Write program that takes a valid mathematical operation in in-fix notation and converts it to post-fix notation then evaluates the expression. (Limitations of the program are that the expression may only contain single digit integers.) [Minimum Requirement] Use the Generic stack that created by Part 1. Test two in-fix notations Use one HashMap (for preference checking) [Submission] Stack211.java (stack operation methods) evaluation1.java(main program of Part 1) evaluation2.java(main program of Part 2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!