Write a program that implements a date class containing day, month and year as data members. Implement assignment operator and copy constructor in this class.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Code AllOther Interview Questions

i have two internal tables with customer and credit amount in one table then customer and debit amount in another table. now i need output in single list as customer, credit amount, debit amount and (credit - debit). help me please

1 Answers  


can any body give me answer to this question please? please give me code in cl with the folling specifications. 1.Accept 2 parameters-date and date type 2.If date type is J then convert date to *MDY format 3.If date type is M convert date to *JUL format 4. Send a program message with the value of converted date? Please give me the answer.Because im practicing in my house.Im taking trining on AS/400.

0 Answers  


How to find the list of users who have two codes su01 and pfcg? thank in advance all.

0 Answers  


How to get the version(major,minor,revision ) of VB6.0 delphi code .I am able to fetch dll file of vb6.0 but not vba file .Can u send me the code snippet in delphi to get the value for vb6.0.

0 Answers  


1.Explain what happens to a session object when the browser associated with it is closed? 2.Explain how a session object is created and used. (Note: you are not required to provide the Java statements such as ‘getAttribute’)

0 Answers  






utility used to obtain inform regarding the optimizes choice of access strategy for SQL stmts

1 Answers  


i wrote from two tables (employee and department) 1.select * from employee,department; (it is cartesian product) but 2.select * from employee department; (?????????????????) by default it displays the employee table,what is the reason it is not taking department ??? mail @ mak2786@gmail.com Arunkumar

1 Answers  


Write a sql query to find n'th maximum in the database table.

3 Answers   Oracle,


Devise a program to implement the Fibonacci sequence.

0 Answers   Tech Mahindra,


Write a Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

0 Answers   InterGraph,


Write a program that implements a date class containing day, month and year as data members. Implement assignment operator and copy constructor in this class.

0 Answers  


Write code to add functions, which would work as get and put properties of a class?

0 Answers  


Categories