1D Array in JAVA

Submitted by moazkhan on

1D array in JAVA

In this tutorial you will learn 1) What is array in JAVA? 2) Why we use arrays? 3) How we use arrays in JAVA coding? What is an Array? Array is a data structure used in programming languages to store similar type of items. Arrays are the simplest data structure. The contents of array can be quickly accessed and can easily be deleted. Arrays are used to put in independent variables of the same type in them. Array is just like a one directional block having equal sized partitions and each block we have a value stored.

Structure of a Method in JAVA

Submitted by moazkhan on

Structure of a Method in JAVA

In this tutorial you will learn 1. Basic structure of a method 2. Input into methods 3. Output from methods 4. How Methods are used in JAVA program Basic structure of a method The function in C programming are referred to as Methods in JAVA. They are the set of instruction which are clustered together to perform some specific operation to the input they are given and then the data is returned back to the main of the program or to the Method in which they arr called.

Introduction to Object Oriented Programming

Submitted by moazkhan on

Introduction to Object Oriented Programming

In this part of the tutorial you will learn 1) What is object oriented programming 2) Why to use object oriented programming 3) Object oriented and JAVA 4) Advantages of object oriented programming What is object oriented programming? In object oriented type of programming we create the objects which has certain properties and the methods (functions) associated with it and we use these methods to perform the operations on the object.

The Switch Statement in JAVA

Submitted by moazkhan on

Calculator Using Switch

In this tutorial you will learn: JAVA coding essentials Taking input in java console What is switch statement Difference between switch and if else statement JAVA code for making the calculator using Switch Statements What is switch statement In JAVA programming the switch is the implementation by which we evaluate a variable and on the basis of which we change the control flow of our program. Through switch statement we define the multiple task which will be executed depending upon the value inside the variable.

Conditional Statements in JAVA

Submitted by moazkhan on

Conditional Statements in JAVA

In this tutorial you will learn: 1. JAVA coding essentials 2. Taking input in java console 3. JAVA code for making a calculator 4. How the basic arithmetic operations are performed in JAVA Making Java Project Basic Java console program: • Open Eclipse > Workspace • File > new > java project • File > new > class Basic Coding Strategy for making a Calculator In this tutorial I will teach you guys how to make a calculator, the calculator here can perform the operations of addition, s

Coding essentials and Java Input

Submitted by moazkhan on

Coding essentials and Java Input

In this tutorial you will learn: 1. Some coding essentials 2. Taking input in java console 3. Basic JAVA console program on conditional statements I have setting up the IDE now it’s time to start coding. The learning curve will be a little steep as we have much to cover. Some Coding Essentials This perhaps one of the most important things while programming in any language.