O it must be used in the first statement of the

Info icon This preview shows pages 7–8. Sign up to view the full content.

View Full Document Right Arrow Icon
o It must be used in the first statement of the constructor 81. A ________ is a special method that has the same name as the class and is invoked automatically whenever an object of the class is instantiated. o constructors 82. A method that is used to assign values to the instance variables of a class is called a o Set method 83. The concept of derived classes is involved in _________. o inheritance 84. What is polymorphism in Java? o It is when a single variable is used with several different types of related objects at different places in a program. 85. Which of these keywords must be used to monitor for exceptions? o try 86. Which of these keywords is not a part of exception handling? o thrown 87. When does Exceptions in Java arises in code sequence? o Run time 88. Which of these keywords must be used to handle the exception thrown by try block in some rational manner? o catch 89. Which of these keywords is used to manually throw an exception? o throw 90. Which of these keywords is used to by the calling function to guard against the exception that is thrown by called function? o throws 91. Which of these handles the exception when no catch is used? o Default handler 92. Which of these methods can be used to writing console output? o All of them mentioned 93. Which of these class contains the methods print() & println()? o PrintStream 94. Which of these class is implemented by FilterInputStream class? o InputSrteam
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
95. What package does the Graphics class belong to? o Java.awt 96. How does a programmer typically get access to a Graphics object when coding an applet? o It is a parameter of the paint method 97. An applet is a standalone application. o false 98. In an applet, the paint method is called automatically even if the programmer does not code the method call. o true 99. Which applications can you use to edit Java code? o All text editors 100. A constant is declared by using the keyword o final
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern