今天在学习Java的面向对象时,在notepad++写了两个Java文件。 前提 package day05; public class Dog{ int size; String breed; String name; void bark(){ System.out.println("