Top Posters
Since Sunday
A
6
j
6
c
5
m
5
C
5
d
5
s
5
n
4
i
4
d
4
d
4
J
4
New Topic  
Ilovebacon22 Ilovebacon22
wrote...
Posts: 453
4 years ago
Which of the following declarations are correct?

▸ int[] list = new int[]{1, 2, 3, 4};

▸ int[4] list = new int{1, 2, 3, 4};

▸ int[] list = {1, 2, 3, 4};

▸ int[] list = new int{1, 2, 3, 4};
Textbook 
Introduction to Java Programming, Comprehensive Version

Introduction to Java Programming, Comprehensive Version


Edition: 10th
Author:
Read 59 times
1 Reply
Replies
Answer verified by a subject expert
kirakira15kirakira15
wrote...
Posts: 373
4 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

Ilovebacon22 Author
wrote...

4 years ago
Brilliant
wrote...

Yesterday
Helped a lot
wrote...

2 hours ago
Thanks
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  778 People Browsing
Related Images
  
 205
  
 10057
  
 282
Your Opinion
Which 'study break' activity do you find most distracting?
Votes: 820