004-002-012

Array Creation: String Array

Easy

Problem Description

Array Creation: String Array

Learning Objective: Understand how to create String type arrays

Overview

Create a program that creates a String array and displays its size.

Specifications

  • Create a String array named names
  • The array should have 3 elements
  • Output the array size

Output Format

Array size: 3

Ready to Try Running Code?

Log in to access the code editor and execute your solutions for this problem.

Don't have an account?