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 8647Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?
5 16204Write 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.
2788
why are there separate wait and sleep methods? : Java thread
How can constructor chaining be done using this keyword?
Can list be null in java?
If two threads have same priority which thread will be executed first ?
What is the use of predicate in java 8?
What is final, finally, finalize?
What is the difference between sop and work instruction?
What is the main use of generics in java?
What is thread life cycle?
How is treeset implemented in java?
Which method must be implemented by all threads?
What is string example?
What are the differences between include directive and include action?
what is difference betweem home interface and remote interface?
Is java good for beginners?