Description
Assignment 1 : Java Programming
——————————————————————————————————————
1. Write a java program to find the factorial of a number.
2. Write a java program to display the following pattern:
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
16 17 18 19 20 21
3. Write a java program to implement following classes along with their methods mentioned below and constraints.
4. Write a Java program to implement a class Account having two overloaded constructors. The first constructor is used for initializing, name of account holder, account number, and initial account balance. The second constructor is used for initializing name of account holder, account number, addresses, type of account, and current balance. Account class has methods Deposit (), Withdraw (), and Get Balance(). Create a AccessAccount class to access and use the objects of Account class.
——————————————————————————————————————
Reviews
There are no reviews yet.