• Enter Slide 1 Title Here

    This is slide 1 description. Go to Edit HTML of your blogger blog. Find these sentences. You can replace these sentences with your own words.

  • Enter Slide 2 Title Here

    This is slide 2 description. Go to Edit HTML of your blogger blog. Find these sentences. You can replace these sentences with your own words.

  • Enter Slide 3 Title Here

    This is slide 3 description. Go to Edit HTML of your blogger blog. Find these sentences. You can replace these sentences with your own words.

December 13, 2015

Java Application Exercise 1-1: Define Class And Generate Object

Learning points 


In this exercise we will study about:
  1. Defining class in Java.
  2. Constructor.
  3. Setter and Getter.
  4. Generate object.
  5. Call class function.

Summary


A health food manufacturer is on preparation of opening new sales office in Tokyo and Osaka. First, we will show each sales office information. Following information need to be displayed.

Expected result 


[Shop] This is Tokyo Shop. [Tel] 03-1234-5678
[Shop] This is Osaka Shop. [Tel] 06-1234-5678


Now let's create some java application to fulfill the above specification.