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

Floating Point Precision Loss
I'm writing a program to draw a three-dimensional cube (with a corner cut off) without using any 3D

When file included, REMOTE_ADDR is server's?
I have an index file that handles my site, basically index.php?page=ip will activate "require('

Structure Question - One Table or One Table Per Record Set?
I have a web app (mySQL and PHP) which allows people to create an item with up to 200 records which

C problem struct and string
Hi guys,

This is my first post and I'm hoping the experts here can help me solve my problem.<

Using the $_GET variable to view certain records
Hello,

First let me explain my problem, I have 2 pages the first page pull a list of Guide ti

'210010106140040100' == '210010106140040101'
Debugging this simple line of a PHP script

Code: if($a == $b){ }
I've found that with val

Limiting uploaded file type
I am working on a simple upload script, and I need it to limit the allowed file type that is uploade

problems with script
I made a small script wich exchanges points in my website:


<?php
session_start

How do I use a global footer..?
If my index.php has a bole bunch of if functions and exit's in them

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

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