What is
class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.
2 7190Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?
5 13745Write 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.
2275Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
1 7394What will be the output of the program?
public class Test {
public static void main(String args[]) {
ArrayList
What inheritance mapping strategies are available in hibernate?
What are the 3 different types of Groups?
What is meant by call by reference?
What is the need of hibernate tools when orm tools can be used?
What is difference between merge and saveorupdate in hibernate?
What is the purpose of static methods and variables?
What is jdbc connection string?
What is document?
Can we have more than one package statement in the source file?
Is Java a dying language?
Why convert an applet to an application?
What is an eror in java?
What is use of super keyword in java?
Name three subclasses of the component class?
What are the different session tracking techniques?