Sridhar Srinivasan

Ranch Hand
+ Follow
since Nov 07, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Sridhar Srinivasan

Hi!
My log file shows as follows:
metrics Web threads (busy/total): 0/5 Sessions: 575 Total Memory=57624 Free=25022

What's does it mean?Is it a good sign?I am having 575 live sessions?Can anybody explain pl!Thanks
19 years ago
Hi Vineela!
Thanks a lot for ur help!Hope u answered many of my quries before my exam!!
20 years ago
Can anybody please help! Thanks
20 years ago
Hi!
I am trying to deploy a war file and getting error "Deployer service failed to deploy "warfile locations"* Urecognised deployment.

It's working fine when I don't have the application as war file.I am having the above problem only when I try to deploy as a war file.I am using JRun4.Can anybody help pl! Thanks
20 years ago
Hi

Today i wrote my SJCP ... and passed with 83%.

I am satisfied with the score and I was preparing for 3 to 4 months

Thanks a lot for all of u in answering my queries.

I followed
K & B (The best(escpecially the questions at the end of each chapter)
Dan's Single Topic & Comprehensive
Javacertificate.com

Thanks again!

Regards,
Sridhar
20 years ago
Thanks a lot for the detailed explaination.How about the following?
Animal a = new Animal();
Cat c=new Cat();
c=(Cat)a;
Will the above passes the runtime?Can an animal be casted in to a cat?Please let me know.Thanks
Sometimes casting up the inheritance tree gives runtime error.Can anybody explain actually when it will give runtime erro during casting and when will it not?
subclass=(subclass)superclass- will it give runtime error?
[ May 25, 2004: Message edited by: Barry Gaunt ]
can anybody please explain the reason for the compile time erro while compiling the following code.Thanks


[ May 25, 2004: Message edited by: Barry Gaunt ]
Hi!
How to find the value of 0xffffffff>>1 Can anybody help pl!Thanks
[ May 23, 2004: Message edited by: Barry Gaunt ]
Hi!
I understood.Thanks a lot!
For the following code, the answer given is 121212
class JMM110 {
public static void main (String[] args) {
int j = 0;
do for (int i = 0; i++ < 2
System.out.print(i);
while (j++ < 2);
}}

Can anybody pl explain?Thanks
[ May 22, 2004: Message edited by: Barry Gaunt ]
Hi!
The double data type can accept an int rite?
double d=0x10
Why the following gives a run time exception?Can anybody pl explain?Thanks.
Double d1 = new Double("0x10");
[ May 22, 2004: Message edited by: Barry Gaunt ]
Hi!
The answer for the following is given as 10030.Can anybody explain pl!Thanks

[ May 19, 2004: Message edited by: Barry Gaunt ]
Hi!
When I compile the following code I get the value as 1
public static void main(String[ ] args)
{

int k=0;
k += ++k;
System.out.println(k);
}
As per my understanding, bec's of operator precedence k becpomes 1 first and now k holds the value of 1 and then when we say k+=1 which is k=k+1(1+1) is 2.Why is it giving 1?Can anybody please explain.Thanks
[ May 18, 2004: Message edited by: Barry Gaunt ]