Question Set

1. According to ANSI specifications which is the correct way of declaring main when it receives command-line arguments?





Ask Your Doubts Here

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

Comments

Show Similar Question And Answers
QA->Name the economy in which people work according to the principle ‘from each according to his ability to each according to his needs’?....
QA->ANSI - പൂര്‍ണ്ണ രൂപം?....
QA->Which great work of Leo Tolstoy starts with the line "All happy families are alike; each unhappy family is unhappy in its own way"?....
QA->A pendulum clock is set to give correct time at the sea level. This clock is moved to a hill station at an altitude of 2500m above the sea level. In order to keep correct time on the hill station, the length of the pendulum?....
QA->Thus US formally entered the Second World War declaring war on Jappan on ?....
MCQ->According to ANSI specifications which is the correct way of declaring main when it receives command-line arguments?....
MCQ->Consider the following statements relating to hydraulic gradient line and energy gradient line 1. In the case of a fluid flowing in a pipeline, hydraulic gradient line and energy gradient line may coincide. 2. The line joining the points representing piezometric heads is known as hydraulic gradient line. 3. In the case of ideal fluid, energy gradient line is always horizontal. 4. Hydraulic gradient line has a downward slope in the case of flow through pipes. Of these statements :....
MCQ->class Bar { } class Test { Bar doBar() { Bar b = new Bar(); / Line 6 / return b; / Line 7 / } public static void main (String args[]) { Test t = new Test(); / Line 11 / Bar newBar = t.doBar(); / Line 12 / System.out.println("newBar"); newBar = new Bar(); / Line 14 / System.out.println("finishing"); / Line 15 / } } At what point is the Bar object, created on line 6, eligible for garbage collection?....
MCQ->Does there exist any way to make the command-line arguments available to other functions without passing them as arguments to the function?....
MCQ->What will be the output of the program? public class Test { public static void aMethod() throws Exception { try / Line 5 / { throw new Exception(); / Line 7 / } finally / Line 9 / { System.out.print("finally "); / Line 11 / } } public static void main(String args[]) { try { aMethod(); } catch (Exception e) / Line 20 / { System.out.print("exception "); } System.out.print("finished"); / Line 24 / } }....
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