Page 1 of 1

About Question enthuware.ocpjp.v21.2.4054 :

Posted: Mon Oct 06, 2025 1:50 pm
by giginar
c:\temp\surnames.txt -> getNameCount() = 1 -> p.getName(1-1=0) = "temp" -> contains("n") = false;
c:\temp\documents -> getNameCount() = 1 -> p.getName(1-1=0) = "temp" -> contains("n") = false;

does not it works sth like this? thanks.

Re: About Question enthuware.ocpjp.v21.2.4054 :

Posted: Tue Oct 07, 2025 1:42 am
by admin
No, getNameCount for c:\\temp\\surnames.txt will return 2 not 1.