QuesHub > method > Java > method > ASK DETAIL

What is a private function in Java?

Sophia Nguyen | 2023-05-05 12:30:14 | page views:1694
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Oliver Lee

Works at the International Air Transport Association, Lives in Montreal, Canada.
When you declare a method in a Java class, you can allow or disallow other classes and object to call that method. You do this through the use of access specifiers. The Java language supports five distinct access levels for methods: private, private protected, protected, public, and, if left unspecified, "friendly".
2023-05-08 12:30:14

Oliver Anderson

QuesHub.com delivers expert answers and knowledge to you.
When you declare a method in a Java class, you can allow or disallow other classes and object to call that method. You do this through the use of access specifiers. The Java language supports five distinct access levels for methods: private, private protected, protected, public, and, if left unspecified, "friendly".
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4