Description: To the HighArray class in the highArray.java program (Listing 2.3), add a method called getMax() that returns the value of the highest key in the array, or –1 if the array is empty. Add some code in main() to exercise this method. You can assume all the keys are positive numbers
- [DSA] - DSA Algorithm with JAVA Applet
- [DSA_Java] - standard symmetric encryption algorithms
File list (Check if you may need any files):
DSA Lab2
........\build
........\build.xml
........\.....\classes
........\.....\.......\ArrayApp.class
........\.....\.......\dsalab2
........\.....\.......\HighArray.class
........\.....\.......\highArray.rs
........\.....\.......\HighArrayApp.class
........\.....\.......\OrdArray.class
........\.....\.......\OrderedApp.class
........\.....\.......\orderedArray.rs
........\manifest.mf
........\nbproject
........\.........\build-impl.xml
........\.........\genfiles.properties
........\.........\private
........\.........\.......\private.properties
........\.........\.......\private.xml
........\.........\project.properties
........\.........\project.xml
........\src
........\...\ArrayApp.java
........\...\highArray.java
........\...\orderedArray.java
........\test