"Private" and "public" have the same meaning here as in most object-oriented languages.
“私有”和“公有”在这里的意思和在大多数面向对象语言里一样。
Public tests test the public API, while private tests test things like the Request object.
公有测试用来测试公有api,而私有测试则是用来测试Request对象这样的东西。
If the data is private to the object, the method has full access to it. You should not have to pass it in.
如果是私人的数据对象,该方法有完全访问。你不应该通过它。
A method of an object has access to that object's private and protected properties.
一种方法的对象已获得该对象的私人和保护性能。
Create a private final Object and call wait on it.
创建一个私人最终对象和呼叫等待就可以了。
What are public, private and protected in object oriented programming?
什么是公共、私人和面向对象的编程中受保护?
If the data is private to the object, the method has full access to it.
如果是私人的数据对象,该方法有完全访问。
On the basis of different loyal object, loyalty divides Public loyalty and private loyalty.
因忠的对象不同,可以区分为公忠和私忠。
I object to his making private calls on the office phone.
我反对他为私事使用办公室的电话。
I object to his making private calls on the office phone.
我反对他为私事使用办公室的电话。
应用推荐