java语言程序设计-基础-课件(第2章)英文java语言程序设计-基础篇-课件(第2章)英文java语言程序设计-基础篇-课件(第2章)英文java语言程序设计-基础篇-课件(第2章)英文.pptVIP

  • 14
  • 0
  • 约2.5万字
  • 约 76页
  • 2017-03-18 发布于贵州
  • 举报

java语言程序设计-基础-课件(第2章)英文java语言程序设计-基础篇-课件(第2章)英文java语言程序设计-基础篇-课件(第2章)英文java语言程序设计-基础篇-课件(第2章)英文.ppt

java语言程序设计-基础-课件(第2章)英文java语言程序设计-基础篇-课件(第2章)英文java语言程序设计-基础篇-课件(第2章)英文java语言程序设计-基础篇-课件(第2章)英文

Syntax Errors public class ShowSyntaxErrors { public static void main(String[] args) { i = 30; System.out.println(i + 4); } } * Runtime Errors public class ShowRuntimeErrors { public static void main(String[] args) { int i = 1 / 0; } } * Logic Errors public class ShowLogicErrors { // Determine if a number is between 1 and 100 inclusively public static void main(String[] args) { // Prompt the user to enter a number String input = JOptionPane.showInputDialog(null, Please enter an integer:, ShowLogicErrors, JOptionPane.QUESTION_MESSAGE); int number

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档