Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ENUM example :I need solution about enum program

 
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
Saloon Keeper
Posts: 15216
36
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