02 2020 档案

摘要://Unresolved compilation problem: No enclosing instance of type SynchronizedTest is accessible. Must qualify the allocation with an enclosing instance 阅读全文
posted @ 2020-02-26 09:30 雪瞳 阅读(248) 评论(0) 推荐(0)
摘要:throw: 作用在方法内,表示抛出具体异常,由方法体内的语句处理。具体向外抛出的动作,所以它抛出的是一个异常实体类。若执行了Throw一定是抛出了某种异常。 throws: 作用在方法的声明上,表示如果抛出异常,则由该方法的调用者来进行异常处理。主要的声明这个方法会抛出会抛出某种类型的异常,让它的 阅读全文
posted @ 2020-02-21 09:43 雪瞳 阅读(180) 评论(0) 推荐(0)
摘要:package com.swust.xll; import java.awt.Color;import java.awt.Container; import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.SwingCo 阅读全文
posted @ 2020-02-18 15:16 雪瞳 阅读(171) 评论(0) 推荐(0)
摘要://返回等价于该字符串内数字的等价整数值 package com.swust.ll; public class Summation { public static void main(String[] args) { int sum=0; int myStr=0; String str[] = {" 阅读全文
posted @ 2020-02-16 14:20 雪瞳 阅读(8195) 评论(0) 推荐(2)
该文被密码保护。
posted @ 2020-02-14 11:46 雪瞳 阅读(4) 评论(0) 推荐(0)