72. readLine() method have integer return types in BufferedReader class.
Ans: False
73. Java is an interpreter that interprets the byte code into machine dependent code and executes program
Ans: True
74. Which method is used access the cookies that are added to response object?
Ans: getCookies()
75. What checks the code fragments for illegal code that can violate access right to objects?
Ans: Bytecode verifier
76. What MySQL property is used to create a surrogate key in MySQL?
Ans: AUTO_INCREMENT
77. Program counter register is a type of area allocated by_____
Ans: none of these
78. What is the output of the below code?
class MyClass
{
int i;
float j;
public static void main(String[] args)
{
System.out.println("i="+i+"j="+j);
}
}
Ans: i=0 j=0.000000
79. Both Primary key and unique key allows NULL
Ans: false
80. What is the return type of read() method of InputStreamReader?
Ans: int
81. Which of the following require large computer memory?
Ans: All of the mentioned (Imaging, Graphics, Voice)
82. The tracks on a disk which can be accessed without repositioning the R/W heads is
Ans: Cylinder
83. Which will legally declare, construct and initialize an array?
Ans: int myList[]={4, 3, 7};
84.______in Java identifies and discards the objects that are no longer needed by a program so that their resources can be reclaimed and reused
Ans: Garbage Collection
85. What exception is thrown by read() method of InputStreamReader?
Ans: IOException
86. A non-correlated subquery can be defined as____
Ans: A set of one or more sequential queries in which generally the result of the inner query is used as the search value in the outer query
87. What is the fullform of WORA?
Ans: Write Once Run Anywhere
88. Is readByte() of DataInputStream final?
Ans: True
89. When three or more AND and OR conditions are combined, it is easier to use the SQL keyword(s):
Ans: Both IN and NOT IN
90. What type of exceptions can readFloat() of DataInputStream throws?
Ans: IOException
91. Arrays when passed to a method they are always passed by reference. Is this true or false?
Ans: true
92. A______file contains bytecodes
Ans: .class
93. Servlets handle multiple simultaneous requests by using threads?
Ans: True
94. In BufferedOutputStream, the method notify is inherited from:
Ans: java.lang.object
No comments:
Post a Comment