This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ENUM example :I need solution about enum program  RSS feed

 
vamsi dhar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai friends
i need a program using enum to print months respetive days.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16028
87
Android IntelliJ IDE Java Scala Spring
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Here at JavaRanch, we want to help people to learn Java. We don't write a complete program for you, because that will not teach you to write programs in Java yourself. So, please try writing some code yourself for this assignment first. Do you know how to program with enums in Java? If not, then you can find a good tutorial here: Enum Types.

When you get stuck, please post the code that you have written so far, and explain exactly what you don't understand.

A tip for when you post code: please use code tags, so that the forum can display the code nicely formatted.

Good luck!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!