20170113 Problem Resolution Please click on the "Java daily" 20170116 "view (problem resolution in public, public number id:weknow619) below today's question.
PackageJan2017; Public classQues0116 { Public Static voidMain (string[] args) {System.out.println (NewBigDog ("Big Black Dog", "black")); } } classdog{String name; PublicDog (String name) {Super(); This. Name =name; } PublicString toString () {return"Name:" +name; } } classBigDogextendsdog{String color; PublicBigDog (string name, string color) { This. Name =name; This. color =color; } PublicString toString () {return"Name:" +name+ ", Color:" +color; } }
Today's question:
What is the output of the main program? (Click on the "Java Daily question" 20170116 "to view the 20170113 problem resolution)
Title Originally published in the public number, Pinterest: "Java daily problem" 20170116, "Java daily" 20170116 (can also scan the Avatar QR Code view)
Weknow team has opened the certification of the sub-answer, there are problems can also be consulted, click on the sub-answer can find me!!
"Java Daily question" 20170116