programming languages Online Quiz - 22
Description: programming languages Online Quiz - 22 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
class H { public static void main (String[] args) { String s1 = "HHH"; StringBuffer sb2 = new StringBuffer(s1); System.out.print(sb2.equals(s1) + "," + s1.equals(sb2)); }}
Java is a programming language originally developed by
Commonly used metasyntactic variable names are
Amoeba operating system was developed by
SQL was developed by
Why we use "Type Def" in C ?
"typedefs" used for data types are not machine dependent.
"typedefs" used for data types are not machine dependent.
Consider the following code: int x, y, z; y = 1; z = 5; x = 0 - (++y) + z++; After execution of this, what will be the values of x, y and z?
In the code below, what data types the variable x can have? byte b1 = 5; byte b2 = 10; x = b1 * b2;(A) byte (B) int (C) short (D) long (E) float (F) double
Given the declarations boolean b; short x1 = 100, x2 = 200, x3 = 300; Which of the following statements are evaluated to true? (A) b = x1 * 2 == x2; (B) b = x1 + x2 != 3 * x1; (C) b = (x3 - 2*x2<0) || ((x3 = 400)<2**x2); (D) b = (x3 - 2*x2>0) || ((x3 = 400) 2*x2);
Which of the following represent legal flow control statements? (A) break; (B) break(); (C) continue outer; (D) continue(inner); (E) return; (F) exit();
Given: • d is a valid, non-null Date object • df is a valid, non-null DateFormat object set to the current locale What outputs the current locales country name and the appropriate version of d’s date?
What is an Iterator ?
What is the List interface?
Which implementation of the List interface provides for the fastest insertion of a new element into the middle of the list?
What is difference between array & arraylist?
What is the Parent Class of ArraList?
What are the constructors of ArrayList?
What is an ArrayList?