Question 31
Question text
What will be the output of the following Java code?
class Test extends Throwable { } class Base extends Test {} public class Main { public static void main(String args[]) { try { throw new Base(); } catch(Test t) { System.out.println("Test Exception"); } finally { System.out.println("Finally block "); } } }
Feedback
Question 32
Question text
Feedback
Question 33
Question text
Feedback
Question 34
Question text
Which of the following statement(s) is/are TRUE?
(i) In a subquery, the inner query is responsible for giving result.
(ii) In a subquery, the outer query is responsible to display output.
Choose most appropriate option
Feedback
Question 35
Question text
Which of the following SQL query will not be executed successfully? Assume all the column names and table name given here are correct. Choose the most appropriate option.
Feedback
Question 36
Question text
COMMIT;
DELETE FROM ASSET;
ROLLBACK;
INSERT INTO ASSET VALUES(5);
COMMIT;
What would be the output of the below SQL statement after executing the above statements sequentially.
SELECT COUNT(*) FROM Asset;
Feedback
Question 37
Question text
Event(eventId,eventName) – eventId is primary key
Employee(empId, empName, eventId) – empId is primary key and eventId is foreign key referring to Event table.
Identify the correct SQL statement to retrieve empid, empname and eventName for all employees. If employee has not registered for an event then it should display ‘Not Registered’.
Feedback
Question 38
Question text
'link', 'vlink' and 'alink' are attributes of which HTML tag?
Choose the most appropriate option.
Feedback
Question 39
Question text
Which of the following attribute is used by a HTML tag to apply inline style? Choose most appropriate option.
Comments
Post a Comment