Professional Documents
Culture Documents
CMPE 101: Object Oriented Programming Worksheet 7C: Istanbul Bilgi University Spring 2021
CMPE 101: Object Oriented Programming Worksheet 7C: Istanbul Bilgi University Spring 2021
Worksheet 7C
Istanbul Bilgi University
Spring 2021
Part I
Explain the difference between static and non-static object with comments.
Part II
Write a loop that gets an integer number from user until the number is same with a randomly
generated number. Use a static integer variable to count how many times the loop is
executed.
Part III
Write a method that takes a String value from user and parses the given value to double
by using Wrapper classes.