[text] stackoverflow Home puBLc Questions Tags Users Companies coLLECTIVES o 3 Explore Collectives TEAMS Stack Overflow for Teams start collaborating and sharing organizational knowledge x Products Q search. Java Multiple Inner Classes Asked today Modified today Viewed 31 times class B extend String s class A extends B T public class Main public static void mainString args B b new B Ilprints Y System.out.printlnb.s Ilprints X System.out.printlnb.new A.5 T I really can not understand why the B object acts different in this situations. What exacly happening i the System.out printinb.new AQ.5 part Can you please explain thank you all. java oop innerclasses Share Edit Follow Flag asked 57 mins ago byyavuzyigit S1en A New contributor 4 sorry but code lie this should be taken out back and shot Hovercraft Full Of Eels 56 mins ago
in Backend, Frontend, Java, Linux, StackOverflow