What is the Layout for ToolBar?
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()); } }
we cannot create an object of interface but we can create a variable of it
What is java virtual machine and how it is considered in context of java’s platform independent feature?
Are primitives objects?
Differentiate between class and structure.
Can we use catch statement for checked exceptions?
Which is the best sorting technique in java?
define System.out.println(); what is the meaning!
What does jre stand for?
How to calculate the length of a singly linked list in java?
Which is bigger float or double java?
What is lexicographically smallest string?