丁保国的博客

收集整理工作生活,点点滴滴

  :: :: 博问 :: 闪存 :: :: :: :: 管理 ::

2008年12月20日

摘要: public static void main(String[] args) { String[] as = {"张","三"}; System.out.println(MessageFormat.format("我姓:{0},名:{1}", (Object[])as)); } 输出: 我姓:张,名:三 阅读全文
posted @ 2008-12-20 15:51 丁保国 阅读(451) 评论(0) 推荐(0) 编辑