Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

While working with Java, one should become familiar with the term called array. An array is a category that holds more than one value at one time, a list of various items that belong to a certain category or bucket. Similar to an excel spreadsheet which contains categories and rows. The row would be the category and the columns would be the array.

In an array, related data can be collected and stored. Similar to a spreadsheet, there is a position for each row. There is a finite number starting at 0 and moving up sequentially. In processing the output, accessing the elements that will be processed for a preferred output is essential. Arrays enable the storage and management of data that are the same type, however, they are listed under one variable name. Each of the elements in an array will be unique.

Control structures are a block of code that indicates the flow of control. This would be a container series of functional calls and instructions. This concept is a main concept in high level programing, such as java. An example of a control structure would be an "if a, then b else c." An example of control structures forms are if then, subroutines, for loops and do while loops. Programmers need to be able to identify these control structures and so they will need to be formatted allowing them to be easily identified and separate from each other.

In my former career I used excel worksheets to maintain marketing products purchased every 4 months (by season). I used excel to maintain products each season for the fiscal year. In using arrays and contstructs it might look something like the below example:

Mugs prjarrays;
Public class seasonalprods{
Public static void main (string[] args){
Int 1,4,8,12, results
Int[] seasonalprods;
seasonalprods=[0]=1;
seasonalprods=[1]=4;
seasonalprods=[2]=8;
seasonalprods=[3]=12;
results=(1+4+8+12);

System.out.println(seasonalprods[1]);
}

Java, Programming

  • Category:- Java
  • Reference No.:- M91380882
  • Price:- $25

Guranteed 24 Hours Delivery, In Price:- $25

Have any Question?


Related Questions in Java

Assessment instructionsin this assessment you will complete

Assessment Instructions In this assessment, you will complete the programming of two Java class methods in a console application that registers students for courses in a term of study. The application is written using th ...

Assessment socket programmingtaskwrite a java gui program

Assessment: Socket Programming Task Write a JAVA GUI program that would facilitate text chatting/exchanging between two or multiple computers over the network/internet, using the concept of JAVA socket programming. If yo ...

Fundamentals of operating systems and java

Fundamentals of Operating Systems and Java Programming Purpose of the assessment (with ULO Mapping) This assignment assesses the following Unit Learning Outcomes; students should be able to demonstrate their achievements ...

Overviewyou are required to use java se 80 and javafx to

Overview You are required to use Java SE 8.0 and JavaFX to develop a Graphical User Interface (GUI) for the FlexiRent rental property management program created in Assignment 1. This assignment is designed to help you: 1 ...

Can someone help me please with those question1what is the

Can someone help me please with those question 1:what is the best data type for student id datatime,currency,number,decimal 2:which relationshipis preferable? one to one,one to many,many to many 3:if you add table A's pr ...

Assignment - java program using array of objectsobjectives

Assignment - JAVA Program using array of objects Objectives - This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details - For this assignment, you are required to develop a Menu ...

Assessment socket programmingtaskwrite a java gui program

Assessment: Socket Programming Task Write a JAVA GUI program that would facilitate text chatting/exchanging between two or multiple computers over the network/internet, using the concept of JAVA socket programming. If yo ...

Answer the following question whats the difference public

Answer the following Question : What's the difference public inheritance and private inheritance? What can derived classes inherit from base classes? What cannot be inherited from base classes?

Assessment instructionsin this assessment you will design

Assessment Instructions In this assessment, you will design and code a simple Java application that defines a class, instantiate the class into a number of objects, and prints out the attributes of these objects in a spe ...

Applied software engineering assignment 1 -learning

Applied Software Engineering Assignment 1 - Learning outcomes - 1. Understand the notion of software engineering and why it is important. 2. Analyse the risk factors associated with phases of the software development lif ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As