Top Posters
Since Sunday
1
1
New Topic  
kaarnold98 kaarnold98
wrote...
Posts: 496
4 years ago
What is i printed in the following code?

public class Test {
public static void main(String[] args) {
int j = 0;
int i = j++ + j * 5;
System.out.println("What is i? " + i);
}
}


▸ 5

▸ 1

▸ 0

▸ 6
Textbook 
Introduction to Java Programming, Comprehensive Version

Introduction to Java Programming, Comprehensive Version


Edition: 10th
Author:
Read 44 times
1 Reply
Replies
Answer verified by a subject expert
kiyomikakiyomika
wrote...
Posts: 409
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

kaarnold98 Author
wrote...

4 years ago
Smart ... Thanks!
wrote...

Yesterday
Thanks for your help!!
wrote...

2 hours ago
Thanks
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  875 People Browsing
Related Images
  
 419
  
 313
  
 62
Your Opinion
Where do you get your textbooks?
Votes: 422