42 All ingort declarations nesuat be placed a inside the cla

42. All ingort declarations nesuat be placed a. inside the class declaration\'s body c. after the class declaration. b befone the class declacation d all ef the above will work 43. Which of the following is the sethod used to disglay a dialog bax to gather npuA bondspuDialng 44. To drww on am applet, the programmer mast access the 45. The Java statement a. drawstring b. drawLine hics c. Giraphics g filloval(290, 100, 90, 55 ) a. Draws a filled oval with its center at coordinates x290, y-100, b. Draws a filled oval widh its left mest point at coondinsates x-290, y-100, c. Dranws a filled oval bounded by a rectangle with its upper lefl cerser st coordinates with height-90 and with-5s widtr55 290y-100, wiwh filled oval with its left most point at coordinates x-290, y -100, with heu-90 snd width-90 and beighe 55 d. Draws a filled oval bounded by a rectangle wihits spper left comer at cootes 90,-10, with height-90 and width 55. circle starting at 050.30) with a radias of toe gdrwwCinclel50, 30,20,20 46. Which of the following is statement is uses to draw a. gdrawArd(50, 30, 10, 10% c gdrawOval(50, 30, 20, 20 47, To draw an are with the following specs: Starting poin50, 30 Width: 40 Height: 15 Starting degree: Degree of the arc: 145 da0,40, 15 d. g drawAre($0, 30,40, 30,0,-145 b.gdrawArc50, 30, 40, 15, 0,-145% a gdrawArt 50, 30, 40, 15,0, 145 egdrawAne(50, 30, 15, 40, 0,145 0 48, if the following statement is given: null, \"The sotal number of fruits\"+total FrunCount) Jc Which part of the statement is a method? dthe contend in te quotation marks c.the content in the parentheses 49. The statement System.exit0); will a elose the window b. close the program when the window is closed c close the program but leave the window open d. close the window but leave the progran running the same libeary swing 50. JOptionPane and JFrame are a from the same library aw c. from different libraries from util library

Solution

42. b)

43. a)

44. c)

45. a)

46. b)

47. a)

48. a)

49. a)

50. b)

20. a)

21. d)

22. b)

23. b and c both

24. a)

25 a)

26. d)

27. c)

28. c)

29. c)

 42. All ingort declarations nesuat be placed a. inside the class declaration\'s body c. after the class declaration. b befone the class declacation d all ef th

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site