Question

I need help with this java question Provide identifier names (variables) along with their data types...

I need help with this java question

Provide identifier names (variables) along with their data types that would be used to represent

1. Person's name

2. HOURS_IN_DAY

3. Net pay.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. personName String;

2. hoursInDay int;

3. netPay double;

Add a comment
Know the answer?
Add Answer to:
I need help with this java question Provide identifier names (variables) along with their data types...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Hello I need help completing this java task publicclassCruise {    // Class Variables    privateString cruiseName;    privateString...

    Hello I need help completing this java task publicclassCruise {    // Class Variables    privateString cruiseName;    privateString cruiseShipName;    privateString departurePort;    privateString destination;    privateString returnPort;    // Constructor - default    Cruise() {    }    // Constructor - full    Cruise(String tCruiseName, String tShipName, String tDeparture, String tDestination, String tReturn) {        cruiseName = tCruiseName;        cruiseShipName = tShipName;        departurePort = tDeparture;        destination = tDestination;        returnPort = tReturn;    }    // Accessors    publicString getCruiseName() {        returncruiseName;    }    publicString getCruiseShipName() {        returncruiseShipName;    }    publicString getDeparturePort() {        returndeparturePort;    }    publicString getDestination()...

  • I need help with this question in JAVA. I need the code, the UML diagram and...

    I need help with this question in JAVA. I need the code, the UML diagram and the pseudocode Do a recursive method that return every possible k permutations of the String non-zeros number given Sample input : "123" , 2 output : "1-2", "1-3", "2-3", "2-1", "3-1", "3-2"

  • I need help with my java homework Let have the array: String[] names= {"Tom", "David","Joel","Steven","Dora"}; declare...

    I need help with my java homework Let have the array: String[] names= {"Tom", "David","Joel","Steven","Dora"}; declare a collection ArrayList and populate it with these names using a simple loop process the ArrayList associating to each name the word student, using for each loop use iterator to display the information

  • I need help with creating the following: Write down a research question. Make sure that your que...

    I need help with creating the following: Write down a research question. Make sure that your question involves two variables. What variable names are involved with your research question? You can name your variables. Invent 10 data values to describe each of your variables and include the data here.

  • JAVA We are learning about java databases in my highschool java class. I Need some help...

    JAVA We are learning about java databases in my highschool java class. I Need some help with it. Create a Java program (feel free to do it all in a main method) that works with a database that contains your 'Contractors' table (see the last exercise). Id (integer, primary key) CompanyName (varchar, 30 characters) Phone(varchar, 12 characters) ContactName(varchar, 30 characters) Rating (integer) OutOfStateService (boolean) # company name phone # Name rating Out of state service 1 Joe's Brewery 1111111111 Joe...

  • Need help with java programming. Here is what I need to do: Write a Java program...

    Need help with java programming. Here is what I need to do: Write a Java program that could help test programs that use text files. Your program will copy an input file to standard output, but whenever it sees a “$integer”, will replace that variable by a corresponding value in a 2ndfile, which will be called the “variable value file”. The requirements for the assignment: 1.     The input and variable value file are both text files that will be specified in...

  • I need help with the following. I need to write a program code in Java using...

    I need help with the following. I need to write a program code in Java using NetBeans. It is from How to Program Java book Chapter 2. This program should calculate the packing of Candles. First read: The number of candles The number of candles that fit in each case Then calculate and print: The number of full cases The number of candles left over (partial case) If this order is large (more than 5 full cases needed) An extra...

  • Okay pleaseee I need help with JUST choosing 3 variables. I don't need help with the...

    Okay pleaseee I need help with JUST choosing 3 variables. I don't need help with the project but I am SO stuck on choosing 3 variables (2 independent and 1 dependant) that are biological in nature that could possibly correlate??? That has me so stuck so any ideas would be GREATLY appreciated. The rest I can do! This is the projects info just so you have a better idea of what options for the 3 variables are suitable! For this...

  • I need help with this question. Supply IUPAC names for the following alkynes:

    I need help with this question. Supply IUPAC names for the following alkynes:

  • Hello, I need some help creating this class in Java. This is for a larger project....

    Hello, I need some help creating this class in Java. This is for a larger project. I am using Eclipse if that helps 1. Create a class named State that will store information about a state and provide methods to get, and set the data, and compare the states by several fields. a. Fields: Name, Capital City, Abbreviation, Population, Region, US House Seats b. Constructor c. Get and set methods for each field d. Compare method to compare State objects...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT