LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   console menu using java (https://www.linuxquestions.org/questions/programming-9/console-menu-using-java-558491/)

epoo 06-01-2007 10:36 PM

console menu using java
 
I'm trying to get back into coding, using java in particular. I'm writing a console-based game, which is going to be turn-based with several sets of menus. I'm having problems right off the start with static and non-static content. I'm wondering if java is a good language to use for this since the the way I would need to use the menus really doesn't go along with the object-oriented programming approach ?
Has anyone had success doing anything like this ? I would post the code but I'm writing on my home pc over ssh and it won't let me copy/paste.

jlliagre 06-02-2007 12:19 AM

You certainly can write static only classes and applications in Java.
Why you think your menu management doesn't fit with the OO model ?

jiml8 06-03-2007 09:09 AM

Just scp any code over that you need to copy/paste and do it that way.


All times are GMT -5. The time now is 07:37 PM.