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 8643Map map = new HashMap(2); map.add(“1”,”one”); map.add(“2”,”two”); map.add(“3”,”three”); What will happen at this line?
5 16193Write 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.
2786
What is nextline method in java?
Explain what access modifiers can be used for methods?
What is static method with example?
How is abstraction implemented in java ?
What are the rules for variable declaration?
Can java program run without jre?
What does the @override annotation do?
What is java used for on a computer?
Can an abstract class be a final class?
What is treeset in java collection?
When a byte datatype is used?
What is callablestatement? How you can call stored procedure to pass in parameter?
Can we override final method?
How does sublist works in java?
Can we force the garbage collection to run?