Answered step by step
Verified Expert Solution
Question
1 Approved Answer
[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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started