Find Jobs
Hire Freelancers

Java throw 2 exceptions

$10-30 USD

Completed
Posted about 5 years ago

$10-30 USD

Paid on delivery
Hello! I have completed a class for PostFix expression but right now I need to handle 2 type of exceptions. I have 2 methods in that class (toString and Evaluate) and both method are working. However, you will need to write : 1.1) IllegalArgumentsExceptions in the constructor to handle the case of an illegal string examples : " 3 5 +++", "hello", "4 5 6 3 2". A correct input can be "4 9 /", "4 8 3 + /", " a b +". We don't have to handle parenthesis here. 1.2) Another exception in the Evaluate method because for that method we can not evaluate string that contain letters such as " a b +" since we don't know the value of a and b (but it's correct for the constructor). So it's the same logic as the constructor but without letters/variables names. You will probably need to REGEX to read the expression. I think it's about 5 lines of code for the evaluate method and a bit more for the constructor
Project ID: 18781789

About the project

8 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I'm an experienced Java developer. Have had multiple previous cases of exception handling. Can write a clean Regex expression to handle your use case if necessary. I'm new to Freelancer, but can prove myself as an excellent Java devloper. Your given description of the problem seems quite simple and easy.
$25 USD in 2 days
5.0 (2 reviews)
2.0
2.0
8 freelancers are bidding on average $30 USD for this job
User Avatar
Hi, Can you ping me to discuss more? I am interested in the project and have an experience in java development. thanks
$30 USD in 2 days
4.9 (94 reviews)
5.8
5.8
User Avatar
Hi there, I read and understood your requirement that you want to do the exception handling in your Java class. I am very good at Java and I can deliver your project to your satisfaction. Let us connect and discuss this further to take it forward.
$35 USD in 1 day
5.0 (35 reviews)
5.2
5.2
User Avatar
Hi, Hope you are well. I will give you Best results....! Please send me you all the details before award project. --- Let discus your project. Deadline and budget? --- Services: software, website, Database, Web-portal, Designing, Data Entry, android mobile app , Content and Theory writing, Program code, and Assignments About me: - Accomplished masters in computer science - 4+ years of experience - Professional developer Feel free to ask any query. Thanks for your time...! ***** HAVE A NICE TIME *****
$50 USD in 1 day
5.0 (24 reviews)
4.5
4.5
User Avatar
Greetings! I have experience in Java programing +5 years. I used regex many times in my projects, this job is easy and I can do that quickly may be few hours up to 2 days. I am available +8 hours as a freelancer. I welcome connection with you at any time for more details. Regards.
$25 USD in 2 days
5.0 (3 reviews)
1.8
1.8
User Avatar
Hi dear khan is ready for you, i have knowledge about your requirements because me working on java with spring framework, also developed a website with F-End JavaScript with Extjs and B-End java with spring framework + hibernate + DB mysql/postgresql you can check the demo to visit my Portfolio
$25 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
We can discuss this in more detail and make it as you want. Let me know if you are intrested. Manoj
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Miami, United States
4.4
13
Payment method verified
Member since Nov 6, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.