Reverse a String in Java using Recursion
public class ReverseOfString { public static void main(String args[]) { String str = ...
Posted by Admin on
What is the difference between List and Set?
What is the difference between List and Set? List can contain duplicate elements whereas Set does not allow duplicate elements. List ma...
Posted by Admin on
Custom object as key in Collection
What do you need to do to use a custom object as key in Collection classes like Map or Set? Answer : If you are using any custom object ...
Posted by Admin on
ArrayList Vs Vector
ArrayList and Vector both implements List interface and maintains insertion order. 1) ArrayList is not synchronized whereas Vector is...
Posted by Admin on
Iterator Vs Enumeration VS ListIterator in Java Collection
Iterator , Enumeration and ListIterator are interface which are used to iterate over the collections in Java. Iterator provide iterato...
Posted by Admin on
SQL Interview Question Set 2
Write a SQL query to print the Name of the managers with id who are having more than 3 employee under him. employees(EMPLOYEE_ID,FIRST_N...
Posted by Admin on
Script to print the last modification time of file if exists
Write a script that accepts a file name as arguments and display the last modification time if the file exists and a suitable message if it...
Posted by Admin on
Subscribe to:
Posts (Atom)