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

Multi Dimensional Array Append
Hi Guys

I have a function that returns a multidimentional array eg

$result = functio

Can't shake the "Warning: include()" error
I've just uploaded my site to a new server and where I have PHP include tags in my HTML, the browser

Vertical Alligning - Not working in 1 cell?
<?php

echo "<table id="valign" width="60%" style=

IP Logger for Voting Script
Can anybody help me place an IP logger into my voting script?
I know that maybe it is not as secu

Multiple Dropdown Selections
I have a form that let's a user insert a page with the ability to select categories. I want them to

$action = "insert"; //$action = $_GET['action'];
$action = "insert";
//$action = $_GET['action'];

why is this invalid type? I am

$variable $variables type question
I need to be able to designate an array element dynamically, so I thought to use a variable variable

Trouble verifying database password
Thankyou to everyone who responded to my last post (I can't find the posting, it has been buried). <

first few characters only
hi, does anyone know how to use PHP to take the first few words of a text and limit them? i have see

quotes changing
hi all

in my content

opening quotes " changes to “

close qu

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