Write 3 Java Method
$80-240 HKD
ชำระเงินเมื่อจัดส่ง
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
หมายเลขโปรเจค: #12280481
เกี่ยวกับโปรเจกต์
มอบให้กับ:
Hi, Ready for the task. Please see my reviews and previous projects. Can we discuss the details further? Waiting for your reply!
freelancer 22 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $168
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- เพิ่มเติม
Boss at handling these assignments. See my profile before awarding anyone else. ............................
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.
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
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.
Hi. Contact me to discuss your task over chat. Looking forward to hearing from you as soon as possible.
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 เพิ่มเติม
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 เพิ่มเติม