#need help in java program
15 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @frozen geyser! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
"mistakes"? Is there something you don't like with your results?
your should not print diff with "quotes" of you wamt to print the variable
Yes, the quotes mean a String object, which is a string of characters (e.g. 'b-i-k-e').
When you write something in quotes, it is treated the same as a new String, and not anything else.
Main is better than main for the name of your class.
(Because type names should follow the convention of starting with a capital letter, and because that way method main() won't have a name that looks like a constructor of the class, getting rid of one of the warnings)
Try to run it on online java compiler
hello fellow java programmer can you help me, I have this error
I check the properties path inside web.xml and make sure the properties file key general.default is there
I also went back into the class folder and make sure the name of my properties is the same as in the web.xml
open your own help subject