Question: Q4. Write the class definition and draw the class diagram for the following: Class Name Bank Attributes: private: Bname, code public: Phone, city Methods public:

Q4. Write the class definition and draw the class diagram for the following: Class Name Bank Attributes: private: Bname, code public: Phone, city Methods public: manage, deposit, withdraw Q5. a) Write a java program to demonstrate the use of mutable objects to find the Perimeter of a rectangle using Point (10,4).Perimeter = 2(length + breadth). b) What is the purpose of a garbage collector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
