This file contains 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
package cs.pack; | |
import java.util.ArrayList; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.lang.reflect.Array; | |
import java.lang.reflect.Field; | |
import java.nio.ByteBuffer; | |
import java.nio.ByteOrder; |
This file contains 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
/** | |
* Recursive with no class level or local variables, | |
* a single int (the one passed in), | |
* a single call to print | |
* a single call to itself | |
* a single assignment | |
* a single if() statement (not counting ternaries) | |
* @param a | |
*/ | |
public static void rc(int a) { |
NewerOlder