Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //importして呼び出すだけ=依存
- import java.math
- import taro.Util
- //所有
- //ブログアカウント
- //
- import taro.BlogEntry
- public class BlogAccount {
- public String getAllContents() {
- String[] x[0] = blogentry.getContents();
- x[1] = getContents();
- //...
- String result = for(int i = 0; i<x.length; i++) {
- System.out.println(x[i]);
- }//x wo zenbu tunageru
- }
- }
- //ブログ記事クラス
- public class BlogEntry {
- private Date createdDate;
- public String getContents() {
- //...some implimentation
- }
- public BlogEntry() {
- this.createdDate = DateUtil.getCurrentDate();
- //DateUtilはimport sitearu
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement