Tell me about different OOPS concepts.
No Answer is Posted For this Question
Be the First to Post Answer
What is a hashmap used for?
What are the data types supported by java?
Program to find greatest prime number in n numbers?
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()); } }
How do you implement polymorphism in our day to day life?
What is comparable and comparator interface? List their differences
What is null object in java?
How does callback work in java?
What is java full form?
Difference between method overloading and overriding.
Can we create constructor in abstract class ?
How Array List can be Serialized.