Quizzes
C#
Specify al ...
Theory
Android
Log In
Sign Up
Programming Quizzes
Theory
Snippets
Papers
Landing
Android
Subscriptions
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
Specify all ways to define an array as a result of which the array will be initialized correctly
int[] someArray = new int[4];
int[4] someArray;
int[] someArray = new int[4] {1,2,3,4};
int[] someArray = new int[] {1,2,3,4};
int someArray[] = new int[4];
int[] someArray = {1,2,3,4};
Explanation
Get an explanation when it's available:
Subscribe
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
C
# Quiz
Start Quiz
or
Read more about
C# Quiz
Follow CodeGalaxy
Mobile Beta
Send Feedback
Login in to like
Login in to comment