You are on page 1of 1

CMPE 101: Object Oriented Programming

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.

Note: Do not compress your files, submit only java files.


Note: Do not forget to justify your answers with comments.

You might also like