English

Given: int m = 5; m* = 5; then the value stored in m results in 55. - Computer Applications

Advertisements
Advertisements

Question

Given: int m = 5; m* = 5; then the value stored in m results in 55. 

Options

  • True

  • False

MCQ
True or False

Solution

This statement is False.

Explanation:

  1. The operation m* = 5; is shorthand for m = m * 5;. It multiplies the current value of m by 5 and stores the result back in m.
shaalaa.com
  Is there an error in this question or solution?
Chapter 1.04: Operators in Java - EXERCISES [Page 43]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.04 Operators in Java
EXERCISES | Q II. 4. | Page 43
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×