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 8522Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?
5 16018Write 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.
2738
What is a file pointer?
Name four container classes.
What is meant by singleton class?
How do you remove an object from an arraylist in java?
What are pass by reference and pass by value?
What is singleton class in ruby?
How do you represent a space in regex java?
How do you convert bytes to character in java?
How to use Media tracker Class.
What is constructor chaining in java?
How can we make a class virtual?
Differentiate between array list and vector in java.
Why set do not allow duplicates in java?
How can we find the actual size of an object on the heap?
What is an error in java?