OOP Project Proposal
OOP Project Proposal
Section: BM
BY: RAJA IZHAN ABBASI
STEPS:
• Searching
• Task Distribution
• Libraries
SEARCHING:
First we searched about what things are required to make our project then we were
able to find some features and requirements which were necessary for our project.
LIBRARIES:
• Scanner.util
• Arraylist.util
TOPICS IMPLEMENTED:
• Constuctors
• Enheritance
• Encapsulation
• Polymorphism
• Abstraction
MAKING OF Project:
I have taken help from internet as well as YouTube.
• The computer programming language which Iam using in our project is JAVA. It
is the best and easily understandable language and is very user friendly. • If you
enter your CNIC and username along with your password, you will be able to
login successfully.
• Then it will ask you that what you want? Either you want to check your
account balance or you want to know the payed bill.
• Then you can press 1 or 2 to know what you want and if you want to exit at
any stage you can press zero.
Conclusion:
This project can be furthur upgraded like by adding filling in it so it can store data for
the future and I can also make GUI but I haven’t learnt it so I was unable to manage
that.
Description of Classes Containing Methods:
• Bank:
Displaying the output using the method location of displayData()
• General Bank:
• General Utility:
Consists a method of GeneralUtility() and Storing of three strings 1.
Nameofcompany 2. addressofcompany 3. companyContactNumnber
• HBL:
Here this HBL extends General Bank and consists of several Arrays, and also
consists of HBL () method which Is storing the address of the bank and bank
contact number. New object is created and consists of several if else statements.
• K Electric:
The K Electric extends GeneralUtility and it also consists of Arrays with Data in it.
Here is parametrized constructor Kelectric and was being given the data using “this.”
Operator. New object is created and inside the object there is this displayData ()
method which consists of else statements.
• Login:
Here I made a class which consists of several methods of getter and setter also
consists of multiple Strings variables as the data required for the program. In the
end it also consists of a method of login () in which the program is asking the user
for required output for the program, and it also consists of several if else
statements.
• Online Banking:
Here in the beginning I made a method of menu () for desired line for the
program of to Press 1 for Bank details and Press 2 for the Bill details. There are
other methods of selection () and to display () inside which multiple if else
conditions are working for the correct result and in some parts multiple lines are
being asked to print out to the display.
• PTCL:
Here this class PTCL extends the General Utility class also contain of some strings
array variables to store the Data in the arrays. Parameterized Constructor of PTCL
is created with multiple variables which are being accessed by using “this.”
operator. A method of displayData () is created to print out the output which is
store in those variables.
• Test:
Consists of main body to run the program by displaying the provided lines.