Current stable version of Linux Kernel
3.0
2.1
2.6
1.1
'startx' is used to enter into XWindow system in linux.
True
False
What does session.evict() method do ?
a) remove the object and its collections from the first level cache
b) remove the object and its collections from the second level cache
c) remove the object and its collections from the data base
d) None of the above
22.) Unix shell scripting does not support floating points directly
a) True
b) False
c)
d)
Which is simplest code snippet you will add in the below main function to set the name attribute of 50th in the ItemList to “Done”? import java.util.ArrayList; import java.util.List; class Item { public int code; public String name; public Item(String name) { this.name = name; } } public class Main { public static void main(String args[]) { List itemList = new ArrayList(); for (int i = 0; i < 50; i++) { Item im = new Item("Test"); itemList.add(im); } //Code to change name of the 50th object to “Done” } }
im.name = "Done";
Item otherObject = new Item(“Done”); itemList.set(49, otherObject);
((Item)itemList.get(49)).name = “Done”;
None of above is correct as they are not changing 50th element.
Which three SELECT statements display 2000 in the format "$2,000.00"? (Choose three.)
SELECT TO_CHAR(2000, '$#,###.##') from dual
SELECT TO_CHAR(2000, '$0,000.00') from dual
SELECT TO_CHAR(2000, '$9,999.00') from dual
SELECT TO_CHAR(2000, '$9,999.99') from dual
SELECT TO_CHAR(2000, '$2,000.00') FROM dual;
SELECT TO_CHAR(2000, '$N,NNN.NN') FROM dual;
23.) Is it possible to process return value of system()?
a) Yes
b) No
Is the Session threadsafe in Hibernate ?
a) TRUE
b) FALSE
c) no matter
d) none of the above
24.) lpc command is used to
a) Add printer and queues
b) Add modem & flash drive
c) Add printer alone
d) Invalid command
It is not possible to install Linux on the system which has MS Windows Vista.