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 16108Write 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.
2754Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
1 8139What 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 4928What 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?
2868
Is it possible to write a regular expression to check if string is a number?
What are the object and class classes used for?
What are the benefits of immutable objects?
What is introduction in spring aop?
How do beans become 'singleton' or prototype?
When is finally block not called?
List the interfaces which extends collection interface?
What is container struts2?
Is hibernate a tool or framework?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
Can we have two main methods in a java class?
What is numberformatexception in java?
What is transient instance state in hibernate?
Why can't we override private static methods?
Is the ternary operator written x : y ? Z or x ? Y : z ?