Java J2EE (14736)
J2ME (151)
Java Related AllOther (507) Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?
5 16025Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
2743Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
1 8118What will be the output of the program?
public class Test {
public static void main(String args[]) {
ArrayList
i have a 1000 objects in data base i need to display those in jsp's how can i retrive those objects in jsp. (consider the performance issue)
2 4896What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example? Thanks, Bose. Infosys 2 In which way does a Primitive data type is passed ? Sun- Microsystems 4 what is the use of declaring constructor as private? Sai- Softech 5 what is difference between global methods and local methods? 1 What is meant by class loader and how many types are there? Apple 1 what is meaning of JIT? 4 What is an abstract class? Wipro 5 what is filters and its use? Virtusa 2 why is multiple inheritance not allowed in java? Elementus-Technologies 7 Differences between jdk 1.4 and 1.5 Wipro 4 is JVM platform dependent or independent..? IBM 6 what is main purpose of abstract class? 5 what is difference between colection and collections? Tech-Mahindra 11 What error occurs if a try-catch-finally statement sequence does not have a catch clause? 2 Explain the difference between scrollbar and scrollpane? 1 Explain the differences between public, private, protected and static? 4 Explain the difference between getAppletInfo and getParameterInfo? 1 Is Cegonsoft Pvt.Ltd. a good Institute? 4 Why only one Class is public in one file? Explain in details. Thanks in Advance. 11 Which method will get invoked first in a stand alone application?
2848
Explain java thread life cycle.
What is contextloaderlistener?
What do you mean by aop?
Mention the difference between durable and non-durable subscription?
What is thin driver in jdbc?
What is collection class in java? List down its methods and interfaces.
What is cookies in servlet with example?
What are the sections into which a strut configuration file can be divided?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
What is servlet looping or chaining?
What is difference between oauth and oauth2?
List some oops concepts in java?
difference between ejb,struts,hibernate,spring and jsp
What is the requirement of servlet config and servlet context implemented and how are they implemented?
how to connect from struts to database through hibernet and where u can modify the class