Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #1343

Object Oriented Programming

Newsgroups comp.programming.threads
Date 2013-02-07 10:05 -0800
Message-ID <340b5a80-9f86-45fa-838d-34ca40ad866b@googlegroups.com> (permalink)
Subject Object Oriented Programming
From New Baby <pankajtiwarisagar@gmail.com>

Show all headers | View raw


They said that private declared data in a class is secured and can't be accessed from outside..I want to know what is that "outside" thing..?  is there someone sitting in my main function who can steal my beautiful integer if i declared it public...

When Everything is protected inside the executable itself...what is the point behind those accessibility...are they invented to save me from the "Hacker"(as my teachers frightened me from my childhood)?

Kick me..slap me..laught at me..but please Answer..i m sick of listening..i want to know today :/ 

Back to comp.programming.threads | Previous | NextNext in thread | Find similar


Thread

Object Oriented Programming New Baby <pankajtiwarisagar@gmail.com> - 2013-02-07 10:05 -0800
  Re: Object Oriented Programming Noob <root@127.0.0.1> - 2013-02-08 10:15 +0100
  Re: Object Oriented Programming Johann Klammer <klammerj@NOSPAM.a1.net> - 2013-02-08 13:25 +0100
    Re: Object Oriented Programming Pankaj Tiwari <pankajtiwarisagar@gmail.com> - 2013-02-08 05:23 -0800

csiph-web