What is Object Oriented Programming ? It is style of programming in which a large application software is implemented in terms of independently programmable units of “data” (in the form of fields, often known as attributes) and “operations” or “codes” (in the form of procedures, often known as methods) called objects. BASIC ELEMENTS OF OOP […]

Read More →

What is Collections in java? A collection is simply an object that groups multiple elements into a single unit. Collections are used to store, retrieve, manipulate, and communicate aggregate data. Advantage : Collections are growable in nature i.e based on our requirement we can increase and decrease the size. Collections can hold both homogeneous and […]

Read More →

Difference between Array ad Collections(Or any collection class) ARRAYS COLLECTIONS 1.Arrays are fixed in size. 1.Collections are growbable in nature i.e based on requirement we can increase or decrease the size. 2. With respect to memory arrays are not recommended to use.   2. With respect to memory collections are recommended to use. 3. Arrays […]

Read More →

What is Array? An array is an indexed collection of fixed number of homogeneous data elements. Main Advantage: In array we can represent multiple values with a single variable. ┬áReusability of the code will be improved. Limitations of object type arrays: Arrays are fixed in size: Once we created an array with some size there […]

Read More →