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 7148Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?
5 13680Write 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.
2263Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
1 7374What will be the output of the program?
public class Test {
public static void main(String args[]) {
ArrayList
Explain something about attribute?
What is the difference between maven and spring?
What is the use of servlet wrapper classes?
What is treeset and treemap in java?
What is thread start?
What is the difference between session bean and entity bean ?
What is a many-to-one association in hibernate?
What is the difference between static and global variables and also define what are volatile variables?
What is return keyword in java?
What is default exception handling in java?
What is bytecode in java ?
What is achieved through clustering?
List some important features of java 10 release?
what is function overloading in java?
What is considered an anti pattern?