In this Project, mini computer have various types of performing software included Calculator, Tiktaktoe and Last Creating Notepad.
It has a knowledge to understand the code of creation with the output respectively.
5. Main Class
• Used loop for continuous choices and switch for user input, and on every
switch case called its specific class by creating its object and calling the
constructor
6. Calculator
• A calculator is a small, portable, often inexpensive electronic device that is
used to perform both basic and complex operation of arithmetic.
• Everything was created in three separate methods start, main, calculation and
it was all called in the constructor so when the object of this class will be
created and the constructor is called the other methods will also start
working and calculator will work.
7. To develop an simple calculator using Java
which provides :
• Simple arithmetic operation.
• The operation performed are
• Addition.
• Subtraction.
• Multiplication.
• Division.
8. Methods
• First of all I make a layout how I want my calculator to look like:
• As soon as layout completes I started coding and using Java swing I make the
layout of the calculator.
• Now continuing further I had to make sure that all keys are correctly
performing operation on he screen.
• As soon as coding gets completed I run & debug mine code and wow great
calculator start working.
12. Tick Tac Toe
• This is an exclusive game which is named as “TIC TAC TOE”.
• It is pretty interesting for two players (user Vs. Computer).
• This game is designed by Matrix [3][3].
• The Program will allow a human user to play against the computer.
17. Notepad
• Used hash map for the name and text string required in this class, stored two
variables in hash map, first one was the key as the name of the notepad file
and second one was the text string, so when ever we write the key of that file
it will perform all action like hashmap.get for loading the file and
hashmap.remove for deleting the file