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 8521Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?
5 16015Write 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.
2735
what is enumset?
What is keyword and identifier?
What are constants?
What are the different types of sorting in java?
What is the best definition for data?
Define iterator and methods in iterator?
What is exception in java?
Does java support function overloading, pointers, structures, unions or linked lists?
Explain what access modifiers can be used for variables?
What is the format specifier?
What is use of map in java?
Is null a string?
How objects are stored in java?
What is the use of default method in interface in java? Explain
This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }