Question Set

1. Every time we supply new set of values to the program at command prompt, we need to recompile the program.



Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Show Similar Question And Answers
QA->10 men can complete a work in 7 days. But 10 women7 need 14 days to complete the same work. How many days will 5 men and 10 women need to complete the work?....
QA->P and Q need 8 days to complete a work. Q and R need 12 days to complete the same work. But P, Q and R together can finish it in 6 days. How man D. 4 days will be needed if P and R together do it?....
QA->P, Q and R can do a work in 20, 30 and 60 days respectively. How many days does it need to complete the work if P does the work and he is assisted by Q and R on every third day?....
QA->The prompt explanation of which by Chattampi Swamikal was appreciated by Swami Vivekananda when the latter visited Kerala?....
QA->Name the Air Marshal who has been appoined as the new Strategic Forces Command (SFC) Chief?....
MCQ->Every time we supply new set of values to the program at command prompt, we need to recompile the program.....
MCQ->What will be the output of the program? public class Example { public static void main(String [] args) { double values[] = {-2.3, -1.0, 0.25, 4}; int cnt = 0; for (int x=0; x < values.length; x++) { if (Math.round(values[x] + .5) == Math.ceil(values[x])) { ++cnt; } } System.out.println("same results " + cnt + " time(s)"); } }....
MCQ->Match the following: List I (Set operation) List II (Set operator)A.Set equality1.-B.Set inclusion2.=C.Set intersection3.< =D.Set difference4.∗

....
MCQ->What will be the output of the program? public class WrapTest { public static void main(String [] args) { int result = 0; short s = 42; Long x = new Long("42"); Long y = new Long(42); Short z = new Short("42"); Short x2 = new Short(s); Integer y2 = new Integer("42"); Integer z2 = new Integer(42); if (x == y) / Line 13 / result = 1; if (x.equals(y) ) / Line 15 / result = result + 10; if (x.equals(z) ) / Line 17 / result = result + 100; if (x.equals(x2) ) / Line 19 / result = result + 1000; if (x.equals(z2) ) / Line 21 / result = result + 10000; System.out.println("result = " + result); } }....
MCQ->Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution