1.
Guess the missing implicit member function of a class?
- Default Constructor
- Copy
- Assignment Operator
- ………………………..
- Address Operator
2.
Output of Java Programs
class Test {
private static int x;
public static void main(String args[]) {
System.out.println(fun());
}
static int fun() {
return ++x;
}
}
3.
What are local static variables?
4.
Output of Java Programs
class Test {
public static void main(String[] args) {
for(int i = 0; true; i++) {
System.out.println(“Hello”);
break;
}
}
}
5.
Which tag is used to execute java source code in JSP?
7.
What is the maximum size for a RAWdata in a table?
8.
Examples of MIME Types?
9.
When was C language developed?
10.
What happens if you remove static modifier from the main method?
11.
How can we delete duplicate rows in a table?
12.
Output of Java Programs:
class Test {
protected int x, y;
}
class Main {
public static void main(String args[]) {
Test t = new Test();
System.out.println(t.x + " " + t.y);
}
}
13.
When is the super keyword used?
super keyword is used to refer:
14.
Which one of the following is true ?
15.
What is URL Encoding?
17.
What is Dangling pointer?
18.
When do you call copy constructors ?
21.
Difference between class and structure?
22.
What are different storage class specifiers in C?
23.
Match the correct pair
A.Public 1) Data members and functions are available to derived classes only
B.Protected 2) Data members and functions are not accessible outside the class
C.Private 3) Data members and functions are accessible outside the class
25.
INSTR returns_____________?