954,506 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Would like for someone to check this to see if works and any help if it does not

i wrote a program to help input User ID's for a system admin can any one check the code to seewhat wrong with it

thank you

Attachments TestUserAccount.java (1.37KB) UserAccount.java (2.6KB)
cltc72
Newbie Poster
4 posts since Oct 2004
Reputation Points: 10
Solved Threads: 0
 

the UserAccount.java file was just flat out riddled with errors, I tried to correct some but ulitmately you need to learn to take more time with the java syntax

here are some corrections that should hopefully get you on your way:
Follows these steps in order on file UserAccount.java

1.) Remove the curly brace "}" on line 13 and move it to line 103
2.) change line 15 from "userAccount()" to "UserAccount()"
3.) change line 68 from "word,append" to "word.append"
4.) add a "+" to the end of line 97 and 98
5.) change getUserNameV1Mirror()"\n" to getUserNameV1Mirror()+"\n"
6.) remove the asterick (*) from line 100 and change it to a +
7.) change line 44 "Stringbuffer" to "StringBuffer"
8.) change line 61 from "lastname" to "lastName"

I am not going to go any further on this as there were still plenty of errors

paradox814
Posting Whiz
351 posts since Oct 2004
Reputation Points: 13
Solved Threads: 4
 

thanks for the help it helped out a little but still alot of errors trying to work them out

cltc72
Newbie Poster
4 posts since Oct 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You