191. Identify the true statements about finalization. a.A class may have only one finalize meth…
181. If no input parameters are specified in a method declaration then the declaration will incl…
171. Casting does not affect the original object or value. a)True b)False Ans: a. 172. Which…
161. How can class be imported to a program? Ans: To import a class, the import keyword should …
151. Can a for statement loop indefinitely? Ans : Yes. 152. What is the difference between whi…
141. What is the difference between prefix and postfix of -- and ++ operators? Ans : The prefix…
Operators 131. What are operators and what are the various types of operators available in Java…
121. What is the value of a[3] as the result of the following array declaration? 1 2 3 4 An…
111.How do you assign values to variables? Ans: Values are assigned to variables using the assi…
101. In order for a source code file, containing the public class Test, to successfully compile,…
Social Plugin