Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can anybody help me to solve this java work? It includes the two parts, including, the part1 and part2, please help me to solve them!

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

image text in transcribed

image text in transcribedCan anybody help me to solve this java work? It includes the two parts, including, the part1 and part2, please help me to solve them! Thank you so much!

mportant: This is an individual assignment. Please do not collaborate. No late assi ment will be acc ted. sul in a Mou write every line ofyour code Using code written h ofthe academic int and will What This Assignment Is About: Arrays Classes Searching Use the following Coding Guidelines: Give identifiers semantic meaning and make them easy to read (examples numStudents, grossPay, etc). User upper case for constants. Use title case (first letter is upper case) for classes. Use lower case with uppercase word separators for all other identifiers (variables, methods, objects). Use tabs or spaces to indent code within blocks (code surrounded by braces. This includes classes methods, and code associated with ifs, switches and loops. Be consistent with the number of spaces or tabs that you use to indent. Use white space to make your program more readable. Part 1: Wri en Exercises 4 oints Note: The answers to the following questions should be typed in the block of comments in the Assignemn ava file. Please make sure they are commented out. Type them neatly and make them easy to read for the graders Exercisei: write statements to do the following: (4 pts) a) Create an array named "numbers" to hold 10 double values. b) Assign value 7.2 to the last element in the array. c) Display the sum of the first two clements, using System.out.println(...) d) Create another array named "numbers2" with initial values 5.7, 9.1, 7.21, and 8.4, using the array initializer. Your assignment is to create a class called Character in a file called CharacterListjava. (there is no main method in this class). A class CharacterList has the following instance variables (they must be declared using

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago