• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ENUM example :I need solution about enum program

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai friends
i need a program using enum to print months respetive days.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
reply
    Bookmark Topic Watch Topic
  • New Topic