what is polymorhism what is inheritance? what is Abstract n Interface? what if two interfaces have same method and a concrete class is implementing both the interfaces. Will there be a compilation error? What are mutable and immutable classes? How can u make a class mutable? when will u use dem ...explain with example? what is overriding and overloading? what is garbage collection? what is Thread? how do dey communicate? what are the different ways of implementing ? have u used any messaging technologies? what is synchronization? what are some additions in java 1.5? what are generics? whst is advanced for loop? what is finally block? can u have a try in finally? yes!! can u have a finally in finally? how do you write junits? when is a object eligible for garbage collection?explain? a = null and b has ref to a will b be eligible to be garbage collected? sql questions like diff joins? how do dey work? exception handling? what is marker interface? what is the need??
2194how can you retrive information from database by using hashmap/arraylist ,plz explain with example briefly?
1 7143how can u handle run time exception in java? explain with brief explanation with examples?
CTS,
2 1054023. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
TCS,
2512class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....
4 8939
Can we override constructors?
What is the difference between jvm and jre? What is an interface?
What is a ?
What is currentthread()?
What is static in java?
What does int argc char * argv [] mean?
What is JFC?
Can a method inside a interface be declared as final?
Can we force garbage collector to run ?
What is locale in java?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
What is the purpose of an interface?
Break statement can be used as labels in java?
Explain about the select method with an example?
What is a class reference?