Java语言程序设计 第十二章课后题
文章平均质量分 52
差劲的厉害了
一个正在努力学习的大学生
展开
-
Java语言程序设计 例题12.5(Triangel异常)
*12.5 (IllegalTriangleException) Programming Exercise 11.1 defined theTriangle class with three sides. In a triangle, the sum of any two sides isgreater than the other side. The Triangle class must adhere to this rule.Create the IllegalTriangleExcept...原创 2022-05-29 18:34:09 · 1840 阅读 · 0 评论 -
Java语言程序设计 例题12.1(InputMismatchException异常)
*12.2 (InputMismatchException) Write a program that prompts the user to readtwo integers and displays their sum. Your program should prompt the user toreadthe number again if the input is incorrect.*12.2(InputMismatchException异常)编写一个程序,提示用户读取两个整数,然后...原创 2022-05-29 18:28:19 · 844 阅读 · 0 评论