Introduction to Comp139 Lecture 1

If you are looking for information about Comp139 Lecture 1, you have come to the right place. All about arrays.

Comp139 Lecture 1 Comprehensive Overview

Using arrays in Java. Difference between arrays of a native type and arrays of objects. Write a class that handles a union membership list. Uses an array to hold the members. Write the add, remove, size and get ... Making a class to manage an array.

Finish stack with an array underneath. Write another version with a linked list underneath and finally use ArrayList as a storage ...

Summary & Highlights for Comp139 Lecture 1

  • 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 ...
  • Build a Queue interface. Write a Queue implementation using an array. Write unit tests to verify the queue works correctly.
  • Write the linked list implementation of a queue. Make the code pass the standard queue unit tests. Show a queue example.

We hope this detailed breakdown of Comp139 Lecture 1 was helpful.

Comp139 Lecture 1.pdf

Size: 6.50 MB · Format: PDF · Secure Download

Download PDF Read Online

Related Documents