Käynnissä

Java programming -- 2

Task #1 Character and String Class Methods

1. Copy the files [login to view URL] (Code Listing 9.1) and [login to view URL] (Code Listing 9.2) from the StudentCD or as directed by your instructor.

2. In the [login to view URL] file, add conditions to the decision structure which validates the data. Conditions are needed that will:

a. Check the length of the String

b. Check the position of the colon

c. Check that all other characters are digits

3. Add lines that will separate the String into two substrings containing hours and minutes. Convert these substrings to integers and save them into the instance variables.

4. In the TimeDemo class, add a condition to the loop that converts the user’s answer to a capital letter prior to checking it.

5. Compile, debug, and run. Test out your program using the following valid input: a. 00:00

b. 12:00 c. 04:05 d. 10:15 e. 23:59 f. 00:35

And the following invalid input: a. 7:56

b. 15:78 c. 08:60 d. 24:00 e. 3e:33 f. 1:111

Task #2 [login to view URL] and the StringBuilder Class

1. Copy the file [login to view URL] (Code Listing 9.3) from the Student CD or as directed by your instructor. This file is only one line long. It contains 2 sentences.

2. Write a main method that will read the file [login to view URL], separate it into word tokens.

3. You should process the tokens by taking the first letter of every fifth word, starting with the first word in the file. Convert these letters to uppercase and append them to a StringBuilder object to form a word which will be printed to the console to display the secret message.

Taidot: Java, JavaFX, JavaScript

Näytä lisää: foundations of java, java programming essentials, java programming certificate, java fundamentals, java programming continuing education, programming fundamentals java, java programming ucsd, java iii, java programming connect game, java code post message syslog, java example post message syslog, java programming frankfurt, part time java programming doylestown, difference java programming palm blackberry, gui java programming blackjack, java programming webcam, dhaka java programming, java programming bids, socket programming simple message relay application, jso java jabber sending message

Tietoa työnantajasta:
( 4 arvostelua ) Jamaica, United States

Projektin tunnus: #27961350

Myönnetty käyttäjälle:

someshjecrc

*** I can start now to help in your Java Programming task to get it done in next few hours *** Hi there, I can see you need help related to Java work/task/assignment, I can deliver the optimal code in next few hours & Lisää

$10 USD 1 päivässä
(47 Arvostelua)
4.7

7 freelancers are bidding on average $55 for this job

symaticssolution

Hi Mate, Hope you are doing well !! I have read job description and your requirements are fully clear to me and I am applying only because I meet all the requirements that you are looking for. I am Sr. PHP/MySQL Dev Lisää

$250 USD 3 päivässä
(5 arvostelua)
4.5
onechup

Hi, I am a full stack java developer with so many experiences. I am very interesting for your job description now. I had done the similar work to your job before a lot. I have done many java projects with the best qua Lisää

$20 USD 2 päivässä
(1 arvostelu)
1.0
pattanaikricha

Hello! I'm a software engineer. I can perform this task for you. We can discuss more over chat . Looking forward to hear from you. Thank You!

$22 USD 2 päivässä
(0 arvostelua)
0.0
sdlances

Hi, Im an experience Java developer and have hands-on experience working on various projects. I've read your project details and can complete it in a day. Ping me to discuss further.

$25 USD 1 päivässä
(0 arvostelua)
0.0
ITPrabhu

I have 7 Year Experience in Advanced Java Projects, Visited two times in client place and work together then solved Production problems. Technology is : J2EE Spring spring-boot RestAPI & SOAP JWT TOKEN & OAOUTH2 MySql, Lisää

$35 USD 7 päivässä
(0 arvostelua)
0.0
yasiransar33

As a Software Engineer I have good skill set to design and develop application.I can deliver you the product that meet your requirement. Let disscuss the project.

$20 USD 1 päivässä
(1 arvostelu)
0.1