Question: Need java code for question To answer this question you should use (and modify) the Java code you wrote for worksheet 8. Write a method
Need java code for question 
To answer this question you should use (and modify) the Java code you wrote for worksheet 8. Write a method that creates a random binary ones and zeros) string of length n. (Test#1: 1 mark). If the input size ('n') is less than or equal to zero then the method should return an empty string. (Test #2: 1 mark). Implement the method using the following function prototype: public static String Random BinaryString(int n) }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
