The Artima Developer Community
Sponsored Link

Java Answers Forum
need help again

1 reply on 1 page. Most recent reply: Mar 16, 2005 10:30 PM by Matthias Neumair

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Damian

Posts: 2
Nickname: virtue
Registered: Mar, 2005

need help again Posted: Mar 16, 2005 11:18 AM
Reply to this message Reply
Advertisement
write an application that initializes 5 string and outputs only those strings begining with the letter 'b'.

their more
write an application that initializes 5 string and outputs only those strings ending with 'ed'.


and

write a check protection application. checks designed for imprinting by computer contains a fixed number of spaces in which the computer may print an amount. suppose a paycheck contain 8 blank spaces in which the computer is supposed to print the amount of a weekly paycheck. if the amount is large then all the 8 spaces is filled.

eg. 1,230.60 (check amount)
12345678 (position)

on the other hand if amount is less than $1000, then several of these spaces would be left blank.
eg. 99.87 (check amount)
12345678 (position)


Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: need help again Posted: Mar 16, 2005 10:30 PM
Reply to this message Reply
So what is your question?


Look at the API documentation:
String.startswith
String.endswith



We won't do your homework for you.

Flat View: This topic has 1 reply on 1 page
Topic: Problem with applet repaint Previous Topic   Next Topic Topic: Circle Class

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use