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 8519Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?
5 16009Write 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.
2732
What is difference between array and vector?
can rmi and corba based applications interact ?
What is pass by value?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
What happens when you add a double value to a string?
what is object slice?
What is covariant return type?
What are advantages of exception handling in java?
What is final method in java?
What are 4 pillers of object orinted programming?
What is an array length?
What is methods and methodology?
What state is a thread in when it is executing?
Describe how to implement singleton design pattern in struts.
Differentiate between run time error and syntax error.