• Active Topics 

My first code

Post Reply
User avatar
Admin
Site Admin
Senior Expert Member
Reactions: 56
Posts: 383
Joined: 10 years ago
Has thanked: 38 times
Been thanked: 32 times
Contact:

#1

  1. public static void go()
  2. {   Rectangle r1 = new Rectangle(0,0,5,5);
  3. System.out.println("In method go. r1 " + r1);
  4. r1.setSize(10, 15);
  5. System.out.println("In method go. r1 " + r1);
  6. alterPointee(r1);
  7. System.out.println("In method go. r1 " + r1);
  8. alterPointer(r1);
  9. System.out.println("In method go. r1 " + r1 );
  10. }

1
1 Image
TSSFL Stack is dedicated to empowering and accelerating teaching and learning, fostering scientific research, and promoting rapid software development and digital technologies
Post Reply

Return to “Software Engineering”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests