What is the difference between interface & abstract class?
No Answer is Posted For this Question
Be the First to Post Answer
What are the properties of thread?
Can we serialize static variables in java?
What is stop(), suspend(), resume() method?
What is the java reflection api? Why it’s so important to have?
How do you identify if jvm is 32-bit or 64-bit from java program?
Can list be null in java?
What is meant by data hiding in java?
What is scanner in java?
Difference between Linked list and Queue?
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()); } }
Can we use String with switch case?
Write a program to print fibonacci series up to count 10.