Q: | What are pass by reference and passby value? |
A: | Pass By Reference means the passing the address itself rather than passing the value. Passby Value means passing a copy of the value to be passed. |
Q: | What is HashMap and Map? |
A: | Map is Interface and Hashmap is class that implements that. |
Q: | Difference between Vector and ArrayList? |
A: | Vector is synchronized whereas arraylist is not. |
Q: | Difference between Swing and Awt? |
A: | AWT are heavy-weight componenets. Swings are light-weight components. Hence swing works faster than AWT. |
No comments:
Post a Comment