menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
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
asked
Dec 5, 2018
207k
views
3
votes
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
Computers and Technology
high-school
Jaap Haagmans
asked
by
Jaap Haagmans
6.0k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
2
votes
class x {
public static void main (String args[])
{
/*declaration, instantiation and initialization */
int a[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
}
}
Richi
answered
Dec 11, 2018
by
Richi
6.0k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
6.5m
questions
8.7m
answers
Other Questions
What is Blender's default save directory for movie AVI files?
If a website ends with .gov does it mean that its written by the government or?
To group option buttons so that selecting one deselects all of the others, you must make the ____ attribute the same.
How do I turn on your asus chromebook flip?
Harrison worked on a spreadsheet to show market trends of various mobile devices. The size of the file has increased because Harrison used a lot of graphs and charts. Which file extension should he use
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org