(1) find out three
keywords
(a)synchronized
(b)implement
(c)throws etc
(2) which are not keywords
(a)NULL
(b)synchronize etc
(3) two to three questions on legal array declaration
(a)int a[][]=new int[3][3];
(b)int[] a[]=new int[3][3];
(c)int a[3][4]=new int[3][4];wrong
(d)int[3][4] a=new int[3][4];wrong
(e)int a[][]=new int[3][4];
(4)++i+++j is equivalent to
(a)i+j+1
(b)i+j+2
(c)i+j
(d)can't be compiled(correct)
(5)the content of the array after execution of following statement :int
a[][]=new int[3][3];
(4)find the o/p of the program
void main()
{
int a=10;b;
if(a<=10)
b=4;
if(a>10)
b=5;
cout<
}
(a)it don't be compiled
(b)it compiles and o/ps 10 4(ans)
(5)a qn on copying or assigning
(6)early or static binding means
(a)at runtime
(b)at compiletime(ans)
(7)one qn on global variables, one question on globally declared static
variable
(8)two qns on "vector" type
(9)the branch of a tree which has no Childs is called
(10)when a node c is inserting b/w nodes a and b how many pointer will be
modified
Be the first one to comment on this Placement Paper