← Back to Fala2Me

public function

[/ˈpʌblɪk ˈfʌŋkʃən/]
nounpl: public functions
função pública
1. An official ceremony or social event organized by or for the government or a public institution
The mayor attended several public functions throughout the week.
O prefeito compareceu a várias funções públicas ao longo da semana.
2. (Programming) A subroutine or method in a program that can be accessed and called from outside its defining class or module
The developer declared the method as a public function to allow other classes to use it.
O desenvolvedor declarou o método como uma função pública para permitir que outras classes a usassem.
3. A role or duty that serves the interests of the general public
Education is considered a public function that should be funded by the government.
A educação é considerada uma função pública que deve ser financiada pelo governo.
Synonyms
public eventpublic ceremonypublic service
Antonyms
private functionprivate event

Regional Variations

General Brazilian
função pública
Standard usage for government events and programming contexts
Portugal
função pública
Same standard usage as Brazilian Portuguese

Related Idioms & Phrases

attend a public function
organize a public function
serve the public function
declare as public function
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →