Jump to content

toomaz109

Members
  • Posts

    1
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

toomaz109's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. public class MyClass { public static void main (String[] args) { int x = 5; addOneTo(x); System.out.println(x); } static void addOneTo (int num) { //You have to pre increment to see the result after referencing x ++num; } }
×
×
  • Create New...