爪哇 - 如何使对方(水平)旁边的列表中去,而不是下降(垂直)。 [英] java - How to make the list go beside each other (horizontally) instead of going down (vertically).

查看:147
本文介绍了爪哇 - 如何使对方(水平)旁边的列表中去,而不是下降(垂直)。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么能让对方(水平)旁边的列表中去,而不是下降(垂直)。

how do I make the list go beside each other (horizontally) instead of going down (vertically).

例如:

一月(这是我不断收到) S M T W&五六 1

January (this is what I keep getting) S M T W T F S 1

2

3

4

5

...

一月(这是我想要得到) S M T W&五六 1 2 3 4 5 6 7 8 9 ...

January (this is what I wanted to get) S M T W T F S 1 2 3 4 5 6 7 8 9 ...

感谢任何帮助将是AP preciated,我在这个新的,我不明白。 :)

Thanks any help would be appreciated, I'm new at this and I can't figure it out. :)

推荐答案

使用:

System.out.print("Value");

来代替:

System.out.println("Value");

和不要忘记添加

System.out.println(""); 

在年底刷新缓冲区。

at the end to flush the buffer.

这篇关于爪哇 - 如何使对方(水平)旁边的列表中去,而不是下降(垂直)。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆