logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the difference between array and ArrayList ?


  • Correct Answer
  • Array is collection of same data type Array size is fixed, It cannot be expanded But ArrayList is a growable collection of objectsArrayList is a part of Collections Framework and can work with only objects 


  • Technology problems


    Search Results


    • 1. How will you define an abstract class?
    • Discuss
    • 2. What is an abstract class?
    • Discuss
    • 3. What is the difference between a constructor and a method?
    • Discuss
    • 4. What are the steps required to execute a query in JDBC?
    • Discuss
    • 5. What is JDBC Driver ?
    • Discuss
    • 6. What is diamond problem?
    • Discuss
    • 7. What is the security mechanism used in java?
    • Discuss
    • 8. What is encapsulation?
    • Discuss
    • 9. What is inheritance?
    • Discuss
    • 10. Can we compile a java program without main?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment