a) 1357 b) 2 4 6 8 c) 1 3579 d) 123 4 5 6 7 89

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 14RQ
icon
Related questions
Question
3).class jump_statments
{
public static void main(String args[1)
{
int x
= 2;
int y
= 0;
for (; y < 10; ++y)
{
if (y % x
0)
==
continu
e;
else if (y
8)
break;
==
else
%3D
System.out.print(y + " ");
}
a) 1357
b) 24 68
c) 1 3579
d) 1234 5 6 7 8 9
Transcribed Image Text:3).class jump_statments { public static void main(String args[1) { int x = 2; int y = 0; for (; y < 10; ++y) { if (y % x 0) == continu e; else if (y 8) break; == else %3D System.out.print(y + " "); } a) 1357 b) 24 68 c) 1 3579 d) 1234 5 6 7 8 9
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Fundamentals of Input and Output Performance
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT