Value is given to a variable using
conditional statement
assignment statement
looping statement
None of the Above
In C++ the function that is used to release the block of memory already used is
release
deallocate
delete
all the above
Index of an array starts from
One
Zero
Two
Which of the following OOPS concepts are used with cin and cout
Data Hiding
Encapsulation
Operator Overloading
None Of the Above
Which of the following is used to store data of different types
Arrays
Structures
Both a and b
Which of the following denote operator of logical AND
&&
^&
!&
&
The class with name exforsys and having integer data x in its have constructor name as
any name
x
exforsys
which of these will compile and run? choose all the apply.
LinkedList l=new LinkedList();
List l=new LinkedList();
LinkedList l=new LinkedList()
How are numeric and character missing values represented internally in SAS?
numeric will be represented by blank and character will be represented by .
both character and numeric will be represented as blanks
numeric will be represented by . and character will be represented by blank
numeric will be represented by . and character will be represented by NULL values
class A{ int b=10; private A(){ this.b=7; } int f(){ return b; } } class B extends class A{ int b; } class Test{ public static void main(String args[]){ A a=new B(); System.out.println(a.f()); } }
Does not compile
prints 0
prints 10
prints 7