What is the output of this code? - ProProfs Discuss
Advertisement

What is the output of this code?

What is the output of this code?

Change Image    Delete

int p = 0; while(p < 3) { p++; System.out.println(p); }

Asked by Paolodeseo, Last updated: Jan 08, 2025

+ Answer
Request
Question menu
Vote up Vote down

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.