Single Choice
Easy
QIs there any error in below code?
class Example
{
public static void main(Args _args)
{
int array[5];
array[1] = 12;
array[2] = "hello";
}
}
ID: #21702
Array Introduction in X++ Language
102 views
Question Info
#21702Q ID
EasyDifficulty
Array Introduction in X++ LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Compile time error: Cannot implicitly convert from type 'str' to type 'int'.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic