driver program
public static void main ( String [ ] args ) { int A [ ] = { 1 , 2 , - 1 , - 3 , - 6 , 4 } ; int n = A . length ; int k = 4 ; System . out . println ( maxProductSubarrayOfSizeK ( A , n , k ) ) ; } }