Welcome to Thinktank blog. All blogs are not same. I will try to make this blog as having a cup of cofee in the morning. Little ideas, greate thoughts, expert talks, professional lessons and many more. so not just another wordpress blog.
Filed under: General
Great Contents! I’m really impressed by the coverage breadth & depth of various technologies. Keep it up Sharat:)
Hi Think Tank,
I have some interview questions which were asked to me, please try to answer this.
1. can u have 2 overlaod methods with same same args but diff return types
2. List and Set, (ordered) how is set stored wat impls of set u used he asked me
3. write a plandrome example in java code
4. write producer consumer thread code in java
5. difference between The JSP include directive and jsp:include
ans: The advantage of jsp:include is that it will always check for changes in the included file
It’s actually pretty simple: jsp:include includes the response from the included URI, rather than the URI itself. This means that the indicated URI is interpreted and the resulting response is included. If the page is HTML, you get the HTML essentially unchanged. But if it’s a Perl script, a Java servlet, or a CGI program, you’ll get the interpreted result from that program. While this usually turns out to be HTML, the actual program is just a means to an end. And, because interpretation happens at every page request, the results are never cached as they were with the include directive. It’s such a minor change, but it makes all the difference in the behavior you see.
6. Deadlock
7. Race conditions
8. can a EAR file have 2 WAR files
9. select * from emp;
10. select * from dept;
select e.ename, e.sal, d.dname from emp e, dept d where e.deptno= d.deptno having sum(e.sal)>1000 group by e.sal;
11. u have writren a query and access thru java now its very slow how do you optimizes
12. MIME types
13. How do you get a Excel file from webpage to server
14. what is weak references
15. what is command pattern
16. what is self join
Hola faretaste
mekodinosad
how to forward a request to other jsp from one jsp with out going control to action class..