What is the return type of a program?s main() method?
Answers were Sorted based on User's Feedback
Answer / ashokmail
by default it is void and return null.
if return type is int , it returns 0 or 1 depends on the
program execution .
Is This Answer Correct ? | 3 Yes | 5 No |
What is the Layout for ToolBar?
Is java code slower than native code?
How does Vector implement synchronization?
what is session facade ?
Why local variables are stored in stack?
How to do a true java ping from windows?
why we write public static void main (String args[]) in core java plz explain briefly??????????????????
Program to print 1 1 2 1 2 3 1 2 3 4 like that
What package is math in java?
what are three ways in which a thread can enter the waiting state? : Java thread
84. try { 85. ResourceConnection con = resourceFactory.getConnection(); 86. Results r = con.query(”GET INFO FROM CUSTOMER”); 87. info = r.getData(); 88. con.close(); 89. } catch (ResourceException re) { 90. errorLog.write(re.getMessage()); 91. } 92. return info; Which is true if a ResourceException is thrown on line 86? 1 Line 92 will not execute. 2 The connection will not be retrieved in line 85. 3 The resource connection will not be closed on line 88. 4 The enclosing method will throw an exception to its caller.
Can we sort set in java?