Which of the following statements are true about
constructors and methods?
1)A constructor has it's own name, a return type and is
invoked using the new operator.
2)A function has it's own name, a return type and is invoked
using the dot operator.
3)A constructor has the name of the class, no return type
and is invoked using the new operator.
Answer Posted / anitha
a) 1 & 2
b)2 & 3
c)1, 2 & 3
d)None of the statements are true
| Is This Answer Correct ? | 131 Yes | 10 No |
Post New Answer View All Answers
How to work Air cooled and water cooled chiller?
what is difference between value datatype and object datattype
Write a program using string fuctions that accepts a price of an item and display its coded value. The base of the key is: X c o m p u t e r s 0 1 2 3 4 5 6 7 8 9
Hi all, Pls find the bellow mentioned interview questions related to hp-unix. 1. Job Scheduling; mainly crontab, at, batch command 2. Backup stetegy; incremental, full system back up; diff between tar & ufsdump 3. diff between hard link & softlink 4. How to list only the directories inside a directory (Ans. ls -l|grep "^d") 5. RAID levels; pros & cons of diffrent levels; what is RAID 1+0 6. How to recover a system whose root password has lost? 7. What is a daemon? 8. How to put a job in background & bring it to foreground? 9. What is default permissions for others in a file? 10. Questions on shell initialization scripts? 11. Questions on restricted shell 12. What is diff betwn grep & find? 13. What is egrep? 14. Questions on shell programming 15. What is a pipe? 16. Questions on Solaris patch management like pkgadd etc Thnaks & Regards Biswanath Das Email ID:biswanath_das84@yahoo.com
Sir, I was recently placed at ITC Infotect. My ctc is 2.46lpa. How much will I get in hand every month? Plssss answer. Thanx in advance.
Apply Newton?s method to compute the approximate value of root 2. Start the iteration from x0=1, and obtain two iterations.
What experience have you had in working with field forces?
WHAT IS THE DIff Between candidate key and primary key?
How many VLANs are supported on a single switch
verbal quiz and answers
how to count number of 3's in 100
Is there aptitute question will be asked in NIC exam ??? If yes how many questions will be asked??
why u r shifting from engineering to other field ?
plz send me how to overhauling of freon bitzer semi receprocal comprassors with available video
explain various problem solving statagis