Write 3 Java Method

เสร็จสมบูรณ์ โพสต์แล้ว 7 ปีที่ผ่านมา ชำระเงินเมื่อจัดส่ง
เสร็จสมบูรณ์ ชำระเงินเมื่อจัดส่ง

use simple java to code 3 method:

Q1: Write a public class method numArray that accepts an int parameter as the size of an int array. The method creates an int array of this size and puts numbers from 1 to slot 0, 2 to slot1, etc of the array and returns the array to the caller.

Q2:Write a public class method chopMiddle that accepts a String parameter with 5 integers in it separated by commas (e.g. “1,2,3,4,5”). The method uses StringTokenizer to break the String into tokens and uses Integer’s parseInt method to convert the tokens into int values. The method will return an array of size 3 which contains the int values of the 2nd to the 4th integers from the String to the caller.

Q3: Method: Write a static method which is called readThings which accepts a String as filename. The method has to read all odd numbered lines of the file and put into a String array and returns the array to the caller. You can assume that the array is of max size 100.

e.g. the file has the following lines: line1 line2 line3 line4 line5 .Then, the returned array should contain: line1line3line5

Java JavaScript

หมายเลขโปรเจค: #12280481

เกี่ยวกับโปรเจกต์

22 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

มอบให้กับ:

contactvidura

Hi, Ready for the task. Please see my reviews and previous projects. Can we discuss the details further? Waiting for your reply!

$80 HKD ใน 1 วัน
(50 รีวิว)
4.7

freelancer 22 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $168

AhmedLabib93

Hello My name is Ahmed, i'm a top rated freelancer. i worked over 250 projects and over 600 hours doing java projects. plus i passed freelancer java exam with top 15% plus i got 2 java certificate 1Z0-803 and 1Z0- เพิ่มเติม

$200 HKD ใน 1 วัน
(408 รีวิว)
6.6
abhijitbuet

Boss at handling these assignments. See my profile before awarding anyone else. ............................

$140 HKD ใน 1 วัน
(225 รีวิว)
6.6
ig149

Expert developer here I can do your job perfectly.

$112 HKD ใน 1 วัน
(80 รีวิว)
5.7
prolinkerx

Dear sir, I've read your requirement carefully. As an expert in Java with 8+ year of experience, this work is very easy to me. I can complete right now for you. Kind regards, Francis T.

$200 HKD ใน 0 วัน
(43 รีวิว)
4.3
kamranbabarnust2

i can do this task for you.

$280 HKD ใน 1 วัน
(11 รีวิว)
4.3
csanadfarkas90

Hi as i see its any easy homework. If you contact me I can do it in a couple of minutes. Looking forward to hearing from you wbr CSani

$80 HKD ใน 1 วัน
(8 รีวิว)
4.1
niranuv

I am working as Java Developer for last 3+ years. I can give the solution to this project in 1 day. Thank You. Looking forward to work with you.

$150 HKD ใน 1 วัน
(7 รีวิว)
3.1
perunandrej

Hi. Contact me to discuss your task over chat. Looking forward to hearing from you as soon as possible.

$140 HKD ใน 1 วัน
(8 รีวิว)
3.2
Uthmankhell

My name is Mazhar Khan. I am a Software Engineer. I am a hard-working and determined professional seeking an opportunity to succeed in a dynamic environment. I am confident that my knowledge, ability and experien เพิ่มเติม

$200 HKD ใน 1 วัน
(3 รีวิว)
2.0
anyone86

why Javascript as a required skill?

$340 HKD ใน 1 วัน
(3 รีวิว)
1.8
mascotsoft4

Dear Client, Greeting of the day ahead !!! Thanks for providing us opportunity to place bid over the project and communicate with you. I am a serious bidder here and i have already worked on a similar project befor เพิ่มเติม

$184 HKD ใน 6 วัน
(1 รีวิว)
1.3
rahulranjan2108

A proposal has not yet been provided

$160 HKD ใน 5 วัน
(0 รีวิว)
0.0
asif09ansari

A proposal has not yet been provided

$140 HKD ใน 3 วัน
(0 รีวิว)
0.0