What are the default and parameterized constructors?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the private protected method modifier?
what is predefined function in java?
Can we able to pass objects as an arguments in java?
What is AppletStub?
Can a vector contain heterogenous objects?
What is the super void?
What is oop in java?
What will be the output of the program? public class Test { public static void main(String args[]) { ArrayList<String> list = new ArrayList<String>(); list.add("2"); list.add("3"); list.add("4"); list.add("5"); System.out.println("size :"+list.size()); for(int i=0;i<list.size();i++) { list.remove(i); } System.out.println("size after:"+list.size()); } }
What about abstract classes in java?
If all the methods in abstract class are declared as abstract then what is difference between abstract class and in interface?
What do you mean by the term transient?
What is the alternate of 'Inheritance' ?