41.7k views
3 votes
What will be printed when the method printstuff is called?

User Phil Helix
by
8.0k points

1 Answer

3 votes
Here is the correct answer of the given question above. The one that will be printed when the method printstuff is called is that there will be a compile error because a double cannot be assigned to an int without a cast. Hope this answer helps.
User MARTIN Damien
by
8.2k points