radomes.openskiesproject.org
briashandrad1 briashandrad1
  • 06-01-2017
  • Computers and Technology
Answered

Write a Java program to declare and store numbers from 1 to 10 in a single dimensional array and

display the output in the following format. 1 42769 38812 7 8 9 10

Verified Answer :

klekaelly
klekaelly klekaelly
  • 07-01-2017

class x {

public static void main (String args[])
   {
    /declaration, instantiation and initialization /
     int a[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; 

   }




}

Answer Link

Related Questions

How do I do a wisker plot
what multiplies to be 168 and adds to be 10
As a unit of measure money makes it easier for consumers to do what
Simplify 1xh1xh
How did Herodotus differ from Hippocrates
The first antibiotic was made because of properties discovered in a certain type of
Mark each statement if it describes a change in historical knowledge based on new discoveries A Historians know more about ancient Sumer today than historians d
Which term best describes the underlined words The best way to save money is not to spend any of it Agerund phrase Binfinitive phrase Cparticipial phraseto save
Give two reasons that the rat population is not a hardy Weinberg equilibrium
In your introduction to the report you should include a brief background of subject matter True False