private constructor


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

Can we create a constructor as private? If yes, what is the use of it? If no, why can't we make it?

Did you know?Explore Trending and Topic pages for more stories like this.
Please suggest...

Thanks
No comments posted yet

Your Answer:

Login to answer
347 Like 36 Dislike
Previous forums Next forums
Other forums

Echoing a Variable from a Object
How do I get a variable from the new User Class to echo out in this clasS?

class MyApp
{

get the country of visitor and display content based on that
Hello all,

I have seen that Google analytics can tell you where a visitor is coming from and

Escaped characters
I have a script that allows you to post news to the home page of my site. Along with the news is the

How to add functionality to a simple php calender?
Hello everyone,

I have just finished creating a simple php calander. Can someone point

sql error
I have been looking at this code for 20mins and can't work out what I am doing wrong. There is somet

problem in program for counting no of chars using pointers
Hi all, I was trying to make a program which counts number of chars in a string using concpt of poin

OPINIONS WANTED
This is my login page code, and I want your opinion on it please!

Code: // Login ~ CHECKS

Exporting new records
Trying to figure out the best way to set this up.

People register my site.

Their prof

using variables in another page
I have a test database set up on localhost. I have a form that I can type a name into, hit the butto

Undefined Index Notice In Internet Explorer Only
I am getting the following notice:

QuoteNotice: Undefined index: jrox in /home/ycsn/public_h

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash