Printing global maximum subarray sum
System . out . print ( " Maximum ▁ subarray ▁ sum ▁ among ▁ all ▁ " ) ; System . out . print ( " connected ▁ components ▁ = ▁ " ) ; System . out . print ( maxSum ) ; }