Understanding Comp139 Lecture 2
Exploring Comp139 Lecture 2 reveals several interesting facts. Write a class that handles a union membership list. Uses an array to hold the members. Write the add, remove, size and get ...
Key Takeaways about Comp139 Lecture 2
- All about arrays.
- Using arrays in Java. Difference between arrays of a native type and arrays of objects.
- Converting specific list code to a list to hold any type of thing, then restricting it again with generics to only hold specific things (but ...
- Writing a chained (linked) list class.
- MIT 6.5630 Advanced Topics in Cryptography, Fall 2023 Instructor: Yael T. Kalai View the complete course: ...
Detailed Analysis of Comp139 Lecture 2
Making a class to manage an array. More unit tests for remove(). Fix add method to grow the array if it runs out of room. Generalize MemberList to store any object. Fix a freeing bug in remove. Add toString. Make array expand if we run out of room.
Take the birthday game code/concept and make a "ChainedList" class to manage the chain. Use the same interface as our ...
Stay tuned for more updates related to Comp139 Lecture 2.