Object | SoloLearn: Learn to code for FREE!

+1

Object

public class Program { public static void main(String[] args) { String[ ] myNames = new string ["B", "C", "D"] System.out.println(myNames[2]); } }

10/6/2017 7:59:52 AM

sanjeev

3 Answers

New Answer

+7

Corrected: https://code.sololearn.com/ci88r08nMe2p/?ref=app

+1

where is wrong happing

0

new String 'S' capital