Last active
August 29, 2015 14:13
-
-
Save nijjwal/6b1241fe81666c0611cf to your computer and use it in GitHub Desktop.
Main.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
public class Main extends Functions{ | |
public static void main(String[] args) { | |
Functions test = new Functions(); | |
//Create an array to test | |
int[] array = {8,16,24,5,3,2}; | |
int key = 8; | |
ArrayList<Integer> results = test.Multiplesofanumber(key, array); | |
for(int i=0; i< results.size(); i++) | |
{ | |
System.out.print(results.get(i)+" "); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment