Search Results

Searching for: arrays

Individual Exercises

0 / 50

Given an array of integers, return the sum of every other value in the array, starting with the first element. For example, if the array...

0 / 50

Given two integers size and num, return an array that can hold size integers and is filled with multiples of num, starting with num. For...

0 / 50

Given an array of integers, swap each pair of adjacent elements starting with the first two. For example, if the array contains the...

0 / 50

For this question, assume the following implementation of the class Person and the following UML diagram

Person Class Implementation

...
0 / 50

For the question below, assume the following implementation of the Measurable interface and Square and Circle classes:

public interface ...
0 / 50

For this question assume the following implementations of Computer, Tablet, and Notebook

public class Computer { private String...