here is some interview qustions i have faced please help
1) How can we take output returned by Stored Pocedure?
2) Diffarence b/w MVC1 and MVC2 ?
3) Why SinglethreadModel is deprecated?
4) while useing polymorphisam what's wrong with instanceof() method?
5) Servelt chaning follows which designpattern?
6) what happens when request.getSession(true); exicutes?
7) What are genarics in java ?
8) what are the legacy classes (not interfaces) in java collection fremework?
9) Is Hashmap allows key and value as null?and
which collection aloows null as key or value?
Thanks in advance,
please it is urjent
i am very thankfull if u anser it interview point of view
Okay, here are a few tips.
> 1) How can we take output returned by Stored Pocedure?
No way am I going to take any stinkin' output from some db-jockeys
half-arsed stored procedure. Ask yourself, who's the boss?
2) Diffarence b/w MVC1 and MVC2 ?
1.
3) Why SinglethreadModel is deprecated?
Because the 't' wasn't capitalized.
4) while useing polymorphisam what's wrong with instanceof() method?
Because the compiler keeps having problems with those parens.
5) Servelt chaning follows which designpattern?
The Carol Channing Pattern. See the Hello Dolly anti-pattern.
7) What are genarics in java ?
Classes that are old and in the way,
> 3) Why SinglethreadModel is deprecated?
>
> Because the 't' wasn't capitalized.
So does that mean that 'SinglethreadModel' is a 'genaric' class?
By extension, if we put an elderly person in an assisted-living home, does that mean they've been deprecated?
This is true lunch-hour (and a half) entertainment...
> This reminds me of a story a friend told me. She's a
> pharmacist and
> was suspicious of a prescription for morphine. First,
> it was for a large
> amount of the drug, and second, it was spelled
> "mofeen".
I would be suspicious as well, no doctor writes that well ;-P