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 46 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
Thanks for your help!!
wrote...

Yesterday
Brilliant
wrote...

2 hours ago
Smart ... Thanks!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  864 People Browsing
Related Images
  
 48
  
 940
  
 1342
Your Opinion
What's your favorite math subject?
Votes: 315