Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Person {
- public void 食べる(ケーキ cake) {
- // verb = 食べています while in here
- }
- public static void main(String[] args) {
- Person 私 = new Person();
- // verb is 食べる / 食べます beforehand
- me.食べる(new ケーキ()); // `.` is は
- // the `(..)` parentheses denotes を
- // cake is the param
- // verb is 食べた / 食べました after
- }
- }
- 私はケーキを食べます。
Advertisement
Add Comment
Please, Sign In to add comment