资源描述
计算机等级二级JAVA考试复习资料第一套题基本操作题 c=2 n%5=0 a=b简单应用题 swing equals showMessageDialog exit综合应用题 JApplet input Graphics g第二套题基本操作题 Java length sj简单应用题 extends Applet init “num” Graphics综合应用题 WindowListener new Java_3() System.exit System.exit.第三套题基本操作题 char b i简单应用题 Thread start();综合应用题 “简单文本编辑器” mb add fileName fos第四套题基本操作题 String awti简单应用题 f.setLayout b.addActionListener综合应用题 swing textField setText第五套题基本操作题 String count+ =5简单应用题 new int10 readInt( ) total综合应用题 args0 num fact第六套题基本操作题 this.x Variable() v.init简单应用题 ActionListener f.setSize f.getContentPane() f.getContentPane() setText综合应用题 swing s1.equals(s2) .intern() .intern() output第七套题基本操作题 count+ =5简单应用题 DataInputSteam total +anArrayi综合应用题 this.x=x;this.y=y; x=p.x;y=p.y; new Java_3(x,y); return p; new Java_3(5,5); p.translate(3,4);第八套题基本操作题 “Hello” Java_1() +=简单应用题 Java_2 f.addWindowListener综合应用题 init JLabel label第九套题基本操作题 swing String stop简单应用题 int24aik*bkjjbi+1第十二套题基本操作题 xVal showMessageDialog简单应用题 throws file综合应用题 primes addWindowListener第十三套题基本操作题 m=x;m=2; m=y; m=z;简单应用题 aTrianglei.length aTriangleik综合应用题 listener ActionListener Performed第十四套题基本操作题 生日快乐! INFORMATION_MESSAGE简单应用题 new run println random e综合应用题 RandomAccessFile fileName size第十五套题基本操作题 length edINFORMATION_MESSAGE简单应用题 extends Thread run agent.sell int tickets-=1综合应用题 try; className e第十六套题基本操作题 javax.swing.* INFORMATION_MESSAGE简单应用题 extends addActionListener ActionEvent String str综合应用题 abstract extends getDescription第十七套题基本操作题 long s=1; i简单应用题 close readDouble综合应用题 ButtonFrame ActionListener actionPerformed第十八套题基本操作题 concat showMessageDialog简单应用题 Java_2 WindowListener综合应用题 args0 num =fact第十九套题基本操作题 new new showMessgaeDialog简单应用题 static random round k+综合应用题ActionListenerJLabelinput.addActionListener(this)第二十套题基本操作题 String char toString简单应用题 swing setVisible DrawFrame getContentPane add extends JPanel;综合应用题 File args1 b close close第二十一套题基本操作题 m=a m=b m=c简单应用题 Frame setSize fr.addWindowListener(fr) WindowEvent综合应用题 JTextArea lowGrade setOfGrades.length第二十二套题基本操作题 String String简单应用题 Java_2 Java_2 p.toString p.toString综合应用题 implements Button Test addActionListener f actionPerformed第二十三套题基本操作题 String long long print简单应用题 button.addActionListener saveButton.addActionListener new buttonPanel actionPerformed init综合应用题 static FileOutputStream flag close第二十四套题基本操作题 showInputDialog parseInt x*x简单应用题 new getChars charArray.length reverse( )综合应用题 橙色 printSearchResults( )第二十五套题基本操作题 JTextArea format showMessageDialog简单应用题 frame.show( ) JRadioButton ActionEvent listener综合应用题 extends init label第二十六套题基本操作题 static d.s showMessageDialog简单应用题 EXIT_ON_CLOSE JFrame setSize JPanel综合应用题 result firstNumber secondNumber System第二十七套题基本操作题 void JOptionPane toString简单应用题 TimePrinter implements ActionEvent综合应用题 JApplet init第二十八套题基本操作题 DataOutputStream test.dat close简单应用题 javax.swing String k lotteryOdds综合应用题 JApplet getContentPane outputArea第二十九套题基本操作题 new int int i=2 length fi简单应用题 k- aMatrixi println()综合应用题 actionPerformed output output WindowEvent第三十套题基本操作题 input showMessageDialog exit简单应用题 java getName(); implements double综合应用题 try catch ex第三十一套题基本操作题 main String This();简单应用题 double canshu triple x=3*x x综合应用题 JApplet init contentPane第三十二套题基础操作 String Thread getName简单应用 p.getName abstract abstract extends extends综合应用 true File menu chooserfaceCombo第三十三套题基础操作javaxstaticinput简单应用t.start()Threadsuper(str)runcatch综合应用JFramepanelimplementsactionPerformed第三十四套题基础操作mainStrings1.equals简单应用args1f2bSUCCESS!综合应用file chooserthisthistrueevent第三十五套题基础操作题Stringchdefault简单应用ioSystem.inquittmp综合应用MouseAdapterJPopupMenuredtextAreared第三十六套题基本操作题 sum=0 i b=b*j简单应用题 swing face new outputArea exit综合应用题 JApplet Graphics g +counter第三十七套题基本操作题 n=0 print n%5=0简单应用题 System.in str savedfile n综合应用题 swing ActionListener JPopupMenu popup frame WindowEvent第三十八套题基本操作题 names length namesi namesi简单应用题 curDir getName( ) i+ level综合应用题 extends addActionListener false initGUI( )第三十九套题基本操作题 15 +b简单应用题 implements Runnable r k y+综合应用题 textLength charAt(i) vowels+第四十套题基本操作题 s1 equals ”hello”n showMessageDialog简单应用题 start Runnable sleep综合应用题 BeijingFrame BorderLayout() icon第四十一套题基本操作题 throws readLineparseInt简单应用题 new k+aij=0System.out.println()综合应用题 swing.JFrame JFrame.EXIT_ON_CLOSE setTitle jf第四十二套题基本操作题 main string.length( ) charAt简单应用题 try FileInputStream close综合应用题 length index temp第四十三套题基本操作题 int anArrayi简单应用题 j5 aij=k+综合应用题 panel hide closeAllListener counter第四十四套题基本操作题 i=5 parseInt max=x简单应用题 new int x point toString综合应用题 swinggetContentPane(b1)(b2) BListener actionPerformed第四十五套题基本操作题 io sum=0 i=5 x%2=0简单应用题 Point length Point y综合应用题 add true Blistener2 -第四十六套题基本操作题 class length cj out简单应用题 Applet add factorial(i) number综合应用题 javax extends newButton f ActionListener第四十七套题基本操作题 int i5 if else简单应用题 greetings catch e i+综合应用题 JFrame b new FileInputStream new FileOutputStream第四十八套题基本操作题 int i=5 +简单应用题 j2 start void run break综合应用题 TimePrinter exit implements now第四十九套题基本操作题 int5 “Number” ai简单应用题 int writeInt close FileInputStream close综合应用题 true extends setTitle JPanel第五十套题基本操作题 n=k=0 i10 k%3=0简单应用题 this.name this.age name super(name,age) super综合应用题 MousePanel MouseMotionAdapter getX() getY()C29C91AFE4CED1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFEDD1B6C87D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF95AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9D1B6C8795AD9C91AFE4CED1B6C8795A1AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFC91FE4CED1D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6CD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF8795AD9C91FE4CED1D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C87D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF5D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFAD9C91FE4CED1B6C8795AD29C91AFB6C8795AD29C91AFB6C8795AD29C91AFD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFFE4CED1B6C8795AD29C91AFC8795AD9C91FE4CED1B6C8795AD29C91AFD1B6C8795AD9C91AFED1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8D1B6C8795AD9C91AFE4CED1D91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFC91FE4CED1D1B6C871AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFC91FE4CED1D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6CD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF8795AD9C91FE4CED1D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C87D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF5D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFAD9C91FE4CED1B6C8795AD29C91AFB6C8795AD29C91AFB6C8795AD29C91AFD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8791AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFC91FE4CED1D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6CD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF8795AD9C91FE4CED1D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C87D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF5D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFAD9C91FE4CED1B6C8795AD29C91AFB6C8795AD29C91AFB6C8795AD29C91AFD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFFE4CED1B6C8795AD29C91AFC8795AD9C91FE4CED1B6C8795AD29C91AFD1B6C8795AD9C91AFED1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8D1B6C8795AD9C91AFE4CED15AD9C91D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFFE4CED1B6C8795AD29C91AFC8795AD9C91FE4CED1B6C8795AD29C91AFD1B6C8795AD9C91AFED1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8D1B6C8795AD9C91AFE4CED195AD9C91AFE4CED1B6C8795AD91AFE4CED1B6CD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF8795AD9C91FE4CED1D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C87D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF5D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFAD9C91FE4CED1B6C8795AD29C91AFB6C8795AD29C91AFB6C8795AD29C91AFD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFFE4CED1B6C8795AD29C91AFC8795AD9C91FE4CED1B6C8795AD29C91AFD1B6C8795AD9C91AFED1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF795AD9C91FE4CED1B6C8795ADD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF29C91AF4CED1B6C8795AD1B6C8795AD9C91AFE4CED1B6C8795AD91AFD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFD1B6C8795AD29C91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C9D1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF1AFD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AFD1BD1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF1B6C8795AD9C91AFE4CED1B6C8795AD91AFE4CED1B6C8795AD9C91FE4CED1B6C8795AD29C91AF4CED1B6C8795AD29C91AFE4CED1B6C8795ADC6F554C62
展开阅读全文