Score
0
Watch 25 Star 104 Fork 12

Gitee星球的小活动 / 第 0 届 代码编故事接力赛

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
让我们点燃程序员写作之魂,一人用代码写一段故事玩玩吧~ spread retract

Clone or download
Java-ReverseTrump 766 Bytes
Copy Edit Web IDE Raw Blame History
橙留香 authored 2020-03-25 14:55 . add Java-ReverseTrump.
import Java.util.*;
class ReverseTrump{
public static void main(String[] args) {
Story story = new Story("Trump变形记");
List<News> newsList = new ArrayList();
News pre = new News();
pre.setTime("2020-02");
pre.setContent("完全没理由恐慌,这病毒会消失的。");
pre.setConclution("新冠病毒是民主党的新骗局!");
newsList.add(pre);
News post = new News();
post.setTime("2020-03");
post.setContent("疫情它伤害了我。");
post.setConclution("我们必须把政治放在一边,停止党派之争。");
newsList.add(post); //美国进入紧急状态,他们正经受巨大的国家考验
story.add(newsList);
}
}

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/Selected-Activities/Code-relay.git
git@gitee.com:Selected-Activities/Code-relay.git
Selected-Activities
Code-relay
第 0 届 代码编故事接力赛
master

Help Search

220309 7019f5b6 1899542 220318 4015cbb9 1899542