About Question enthuware.ocajp.i.v7.2.965 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
Meghana
Posts: 29
Joined: Sun Feb 11, 2018 3:13 am
Contact:

Re: About Question enthuware.ocajp.i.v7.2.965 :

Post by Meghana »

Thank you!!

evaevaeva
Posts: 10
Joined: Fri Mar 06, 2020 5:18 am
Contact:

Re: About Question enthuware.ocajp.i.v7.2.965 :

Post by evaevaeva »

If I call calculate() with a very large number (for example calculate(2892390023), I get a compile error saying that the integer is too large. I can not find on the web why that is. Does anybody know?

admin
Site Admin
Posts: 10046
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocajp.i.v7.2.965 :

Post by admin »

What is the largest number that can be stored in an int? If you try to assign a larger number, the compiler will know that you are doing something wrong becaus that number cannot be put in an integer, right?
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 75 guests