Answer Posted / saurabh
We can use as many classes as we want in our program..
By the way AMIT, main() is a function and not a class
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is coupling in oop?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
Why do we use encapsulation in oops?
Who invented oop?
What does sksksk mean in text slang?
what type of question are asked in thoughtworks pair programming round ?
What is debug class?what is trace class? What differences are between them? With examples.
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is cohesion in oop?
What is destructor in oop?
What is polymorphism in oops?
What are the types of abstraction?
How long to learn object oriented programming?
What is destructor example?
Can we have inheritance without polymorphism?