Arrays on Java (beginners) - Rehire - Rehire ((this will be covering an amount of two projects)) - open to bidding

Closed Posted Mar 14, 2014 Paid on delivery
Closed

Assignment 7

Due: Friday 14th before class.

Question 1

Suppose we have the following code

MyArrayList<Integer> l = new MyArrayList<Integer>();

[url removed, login to view](3);

[url removed, login to view](5);

[url removed, login to view](7);

[url removed, login to view](9);

[url removed, login to view](11);

for(Integer x : l)

{

[url removed, login to view](x);

}

The for loop is just “syntactic sugar” for a while loop that uses an Iterator object. Write code for the while loop that Java translates the for loop into.

Question 2

Trace the execution of the while loop from Question 1.

Draw a picture showing objects as boxes with fields being either values or references to other objects (i.e. boxes), like I have be doing in class for:

• the list l.

• the initial iterator object.

Show the sequence of hasNext and next calls that occur, and how the iterator object changes with each call.

Question 3

Write an iterator for the MyLinkedList class, just like we did for MyArrayList.

As per Question 1, write code showing your iterator running on an instance of your MyLinkedList class.

Question 4

As per question 2 trace the execution of your iterator for the MyLinkedList class for the following

code:

MyLinkedList<Integer> l = new MyLinkedList<Integer>();

[url removed, login to view](3);

[url removed, login to view](5);

[url removed, login to view](7);

[url removed, login to view](9);

[url removed, login to view](11);

for(Integer x : l)

{

[url removed, login to view](x);

}

عندي البروجكت يلي كتبهم الدكتور بالصف راح أرسلهم لك عالايميل لو حابب وبرضه فكرة رسمة البوكسس

Java

Project ID: #5557826

About the project

15 proposals Remote project Active Apr 20, 2014

15 freelancers are bidding on average $52/hour for this job

dobreiiita

Hi, I am Java expert and can surely help you here with this project. Please communicate to discuss further. Thank you

$50 USD / hour
(222 Reviews)
6.8
urmate

HI Contact me for an efficient, well documented and perfect solution and development of your project. I ensure quality work with always on time delivery of project and dedicated support and follow up. Thanks More

$51 USD / hour
(72 Reviews)
5.5
Ortiga

السلام عليكم It's an easy task, I'm ready to start now, ............................................

$50 USD / hour
(6 Reviews)
2.9
clinux

Hello saudiano, I'm Asem Athwari, Java Teacher at Taiz University. I'm interested and ready to help you in your assignment. If you have any questions, Feel free to contact me. Best regards, clinux.

$55 USD / hour
(3 Reviews)
2.8
innovativementis

Hello, I'm interested in helping you on your assignments. I will provide not only the solution but also the explanation. If you are interested, accept my bid and let me get the work started. Thanks, H

$50 USD / hour
(1 Review)
2.1
ashokekumarrai

Hi I am having a Strong background in java collections. I can work with you and resolve these. Thank you.

$55 USD / hour
(0 Reviews)
0.0
quankiquanki

Hello, This looks like basic ArrayList and LinkedList assignment where you have to describe the behaviour and workings of the Iterator class. I can do this assignment no problem but if you want it to be done precise More

$50 USD / hour
(0 Reviews)
0.0
deepenpatel

you give your assignment to complete. you give less time to complete. please extend your time limit to complete.

$55 USD / hour
(0 Reviews)
0.0
williamap

I know this is my first employment opportunity as a freelancer, but I assure you I am overqualified for this task. I have placed my bid at the lowest possible rate since I don't have a reputation on this website yet (t More

$50 USD / hour
(0 Reviews)
0.0
imranshaukat

Hi, I am an experienced Developer with 7+ years experience with design + development of systems like ERP, CRM, Middleware etc. Strong hands on experience in Java SE, Java EE, JSP, JSF, Primefaces, Oracle, MySQL, iRe More

$50 USD / hour
(0 Reviews)
0.0
hiranthar

Lets give me chance to show my ability. I will definitely do this for you. My vision is to deliver product in high quality and within budget. Shall i give a try?

$55 USD / hour
(0 Reviews)
0.0
mathwog

I can finish this project very soon. We can talk further about this if you are interested. Feel free to reach me in case of clarifications.

$50 USD / hour
(0 Reviews)
0.0
trungnb

A proposal has not yet been provided

$55 USD / hour
(0 Reviews)
0.0
avetech2013

Experienced in JAVA for 8 years...deliver quality work can answers the below and similar questions...

$55 USD / hour
(0 Reviews)
0.0
sharathsogencon

This is Sharath from Sogencon Software Solutions Private Limited, offers the great deal- of course available services which fit in your budget includes round the clock (24 X 7) customer support. Here you would get ser More

$55 USD / hour
(0 Reviews)
0.0