云大JAVA实验Lab#[陆歌浩).docVIP

  • 98
  • 0
  • 约4.75千字
  • 约 6页
  • 2017-03-08 发布于江苏
  • 举报
云大JAVA实验Lab#[陆歌浩)

云南大学软件学院 实验报告 : 序号: 姓名: 成绩: 实验4 Fundamental Programming Structures in Java: Strings 一、实验目的 练习Java基本编程结构,包括字符串,输入输出等。 二、实验内容 Program 1 Write a program called String1.java and do the following: Create a String object that accepts input from the user. Referencing the JDK docs, execute 2 different methods on the String. Print the results of the methods. Result: length of string is 11 first 5 bytes of string are How a import javax.swing.JOptionPane; public class String1{ public static void main(String[] arg){ String inputValue = JOptionPane.showInputDia

文档评论(0)

1亿VIP精品文档

相关文档