R4R.CO.IN
About
Services
Contact
Which one of the following can be used to instantiate an object in PHP assuming class name to be Foo?
Home
Question:Which one of the following can be used to instantiate an object in PHP assuming class name to be Foo?
1. $obj = new $foo;
2.$obj = new foo;
3. $obj = new foo ();
4.obj = new foo ();
Show Answer
Answer:3
← Older
Newer →
Search
Go!
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!