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 7191Map 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.
2275
What is join () in java?
Why string is a class?
What about interthread communication and how it takes place in java?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
Do you need to import math in java?
Is static variable stored in heap?
What is hashtable and explain features of hashtable?
java Technical questions asked by JPMC
What are the restrictions imposed by a Security Manager on Applets?.
Can you make a constructor final in Java?
What is the difference between class & structure?
What are access specifiers available in java?
Is java util list serializable?
Can an interface be defined inside a class?
What is treeset in java?