この特定のコードを短くする他の方法はありませんか? この問題を解決するために、javaに組み込まれている関数。 とにかく私は人々が私が尋ねたいものを理解できるように簡単なコードを書いています。スタックオーバーフローへこの短いコードを減らす方法はありますか?
enter code here
if(month==1){
month1="January";
}
if(month==2){
month1="Febuary";
}
if(month==3){
month1="March";
}
if(month==4){
month1="April";
}
if(month==5){
month1="May";
}enter code here
if(month==6){
month1="June";
}
if(month==7){
month1="July";
}
if(month==8){
month1="August";
}
if(month==9){
month1="September";
}
if(month==10){
month1="October";
}
if(month==11){
month1="November";
}
if(month==12){
month1="December";
}
ようこそ! [ツアー](ツアー)を見て回り、[ヘルプセンター](/ help)、特に[どのように良い質問をしますか?](/ help/how-to-質問)と[ここではどのような話題について聞くことができますか?](/ help/on-topic) ** - **あなたの質問は不明です。あなたのコードは動作しますか?もしそうなら、ここであなたの投稿を削除し、あなたの質問をhttps://codereview.stackexchange.com –
https://stackoverflow.com/questions/1038570/how-can-i-convert-an-integer-to-現地通貨の月名Java – PhillipD