Java Calculator | Addition | Subtraction | Multiply | Divide

  In the previous java tutorial we have gone through a simple java calculator program.Now this tutorial is a extension for the previous one so please go through it before proceeding any further.   Java calculator : In that tutorial we have done only addition of two numbers here we will provide all the major … Read more

Java Simple Calculator | Java example

[et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] Java simple calculator : We now have learnt how to take input from user and make arthematic operations by making use of variables.Now we will accept two numbers from user and process them according to operators.   First let’s deal with accepting numbers so for … Read more

Java Global Variables – Java example

  In previous tutorial we have discussed regarding variables, so now we will look what is java global variables.   Java Global Variables : When we have locally declared a variable and assigned a value we cannot use it any where else in the program because the same name for the variable cannot be used … Read more

Java Variables – Java example

  Java Variables : Java variables¬† are used to store values and they are of different types i.e., data types. So let’s get to see them and understand how to initialize and assign a value to them. When we are writing even a sample java program we need to use several variables to process the … Read more

Show Buttons
Hide Buttons