Description: programming languages Online Quiz - 110 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Which of the following options is true for the following program: try { if (choice) { while (true) } else { system .exit(1): } }finally { codetocleanup(); }
Program output : package com.collection.examples; import java.util.HashSet; public class HashSetExample { public static void main(String[] args) { HashSet s = new HashSet();//1 for(short i = 0; i<100;i++){ //2 s.add(i); //3 s.remove(i-1); //4 } System.out.println(s.size()); //5 } }
What of the following fails to cause a thread stop executing ?
A monitor called nik has 3 threads, having same priority, in its waiting pool; How can we notify one of the threads, named 'thread1' to move from Waiting state to Ready State?
What of the following fails to cause a thread stop executing ?
A monitor called nik has 3 threads, having same priority, in its waiting pool; How can we notify one of the threads, named 'thread1' to move from Waiting state to Ready
The appropriate table to use when performing arithmetic calculations on values defined within the SELECT statement (not pulled from a table column) is
Which of the following is not a group function?
The default character for specifying runtime variables in SELECT statements is
Which two of the following orders are used in ORDER BY clauses?
Which keyword is used in the select query to remove duplicates?
Single View can be created using multiple tables
Following SQL operator will allow duplicates
You want to select all employee names starting with capital C. Which clause you will use?
DELETE command will delete the table from database
UPDATE command is of following type
We send and receive HTML file using which protocol?
Which sequence of HTML tags are correct?
What will extension for SSI?
How we can include header and footer into our HTML page?