Top "Public" questions

`public` is an access-specifier in object-oriented languages; it indicates that all objects have access to the `public` field or method.

Bus public transport algorithm

I am working on an offline C# application that can find bus routes. I can extract the timetable/bus/route …

c# java public dijkstra gtfs
Access Level to certain class must be public error in PHP

I created this class <?php abstract class Validator{ public $_errors = array(); abstract public function isValid($input); public function _addErrors($…

php dry abstract public
Use of "Public" in a derived class declaration?

Given this base class: class Employee { char* name; int age; public: Employee(char* name); void print(); }; With regards to the "…

c++ public derived
How to get the public IP address of the device

I found this sample code to get all local IP addresses, but I don't find an easy solution to get …

ios objective-c ip-address public
Public and Internal members in an Internal class?

Ok, so this may be a bit of a silly question, and there's certainly the obvious answer, but I was …

c# class public access-modifiers internal
Should I use internal or public visibility by default?

I'm a pretty new C# and .NET developer. I recently created an MMC snapin using C# and was gratified by …

c# .net public internals
public or private, does it really matter with Android variables

inside of a single activity, when defining components to be used only within that activity, what's the real difference between …

android memory private public
Closest Ruby representation of a 'private static final' and 'public static final' class variable in Java?

Given the Java code below, what's the closest you could represent these two static final variables in a Ruby class? …

java ruby static private public
Saving public files in the internal storage

I have an application that saves files downloaded from a server. These files are not private to my application and …

android file storage public internal