[Java daily question] 20170221, java20170221
20170220 for problem resolution, click "Java daily question" 20170221 "below today's question to view the problem (The problem is resolved at the beginning of the public account, public ID: weknow619)
Package Feb2017; public class Ques0221 extends Parent {public static void main (String [] args) {final Parent p = new Parent ("aaa "); p = new Parent ("bbb"); p. str = "ccc"; System. out. println (p. str) ;}} class Parent {String str; public Parent () {} public Parent (String s) {str = s ;}}
Today's question:
What is the result of the program running? (Click "[Java daily question] 20170221" below to view issue resolution 20170220)
Questions originally published on the public account and short book: [Java daily question] 20170221, [Java daily question] 20170221 (you can also scan the Avatar QR code to view)
The weknow team has activated the authentication and has answered questions. If you have any questions, you can also consult. Click the answer to find me!