shivam aggarwal

Greenhorn
+ Follow
since Oct 15, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by shivam aggarwal

what kind of requests can be handled by service() method in GenericServlet class and if it's http then why do we need Httpservlet class's doPost() and doGet() methods also?
15 years ago
why is it so that we need to set classpath (containing j2ee api's) for a j2ee application ,but we just need to set the java compiler path for a j2se application
15 years ago

i tried to 'public void boolean first()' method of ResultSetMetaData class;apart from setting the pointer to first record it also returns boolean value.
so on using it as 'rs.first();'without assigning it to a value ,it gives no errors
is it mandatory to make jdbc connection in main method;i tried to use it in event handling method of a button and it gives no response and no errors
what is the diff. between statements

String s="abc";
String s=new String("abc");

and in what cond. is each of these used?
15 years ago
local variables cannot have access specifiers.why?
15 years ago
why is 'length' method not used with usual braces,unlike other methods?
15 years ago
we can have only 1 public class per source file and that source file must be named (name of public class.java).why?
15 years ago