Answer to Question #256478 in Java | JSP | JSF for mack

Question #256478

You will need to complete the following objectives as a C# Windows Form Application:

1. When the program starts the user needs to be asked if they want to make a new entry or to

view a previous entry

2. If the user wants to make a new entry, the first question will be how many meters they

travelled (this will then need to be converted into kilometers)

3. The second question will give the user 3 options to choose from, and each option will have a

value. The options are as follows:

a. Hatchback = 3

b. SUV = 3.5

c. Sports car = 4.

When the user has selected an option that options value needs to be multiplied by the

distance they travelled in kilometers

4. The third question will allow the user to entera description, of where they travel to and why

did they travel there.

5. All the information above needs to then be saved into a JSON file

6. If the user says he want to view a previous entry the JSON file needs to be loaded and

displayed.



1
Expert's answer
2021-10-25T11:01:20-0400
  • Java runs on the Java Runtime Environment (JRE) whereas C# is designed to be run on the Common Language Runtime (CLR).
  • Java is a class-based Object Oriented language whereas C# is Object-Oriented, functional, strong typing, component-oriented.
  • Java doesn’t support for operator overloading whereas C# provides operator overloading for multiple operators.
  • Java does not support pointers while C# supports pointer only in an unsafe mode.
  • In Java, Arrays are a direct specialization of Object whereas arrays in C# are a specialization of System.

https://www.guru99.com/java-vs-c-sharp-key-difference.html


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS