U2p6.java

public class u2p6 { public static void main(String []args) { char arr[]={'b','c','a','b','o','y'}; char []arr2={'b','c','a','a','r','e','n','a','a','a'}; for(char i=2;i<=4;i++) { arr2[i]=arr[i]; } for(char i=0;i<10;i++) { System.out.println(arr2[i]); } } }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.