This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes ENUM example :I need solution about  enum program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "ENUM example :I need solution about  enum program" Watch "ENUM example :I need solution about  enum program" New topic

ENUM example :I need solution about enum program

vamsi dhar

Joined: Aug 01, 2011
Posts: 1
hai friends
i need a program using enum to print months respetive days.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14953

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!

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: ENUM example :I need solution about enum program
It's not a secret anymore!