How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask ATLProg Your Own Question

ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9148
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
Type Your Homework Question Here...
ATLProg is online now
A new question is answered every 9 seconds

I am taking my final, and was hoping to get some help with

This answer was rated:

I am taking my final, and was hoping to get some help with it...Is anyone available?


I really need help with these:


1. (TCO 2) Explain the terms Encapsulation and Data/Information Hiding in object-oriented programming. How do they differ?
(Points : 18)



2. (TCO 2) Keeping in mind all object-oriented programming best practices, create a class for a Bookcase, with the following specifications:

1. Specify two data members

2. Default Constructor

3. Overloaded Constructor which takes both data member values as input.

4. Generate a unique identification number for each object instantiated from this class. Use a static data member to keep track of the identification number last assigned to an object so that duplications will not occur. 

5. Show a statement which instantiates an object of this class using the overloaded constructor.

You do not need to provide any accessor/mutator methods or other methods.

(Points : 18)



3. (TCO 2) Given the following list of classes, attributes and methods, 
- identify which items are classes, which items are attributes and which items are methods;
- identify which class each attribute and method belongs to; and
- suggest a class hierarchy given your list of classes.
*Note - no particular capitalization scheme is used in the list below to differentiate between classes, methods and attributes.
Brew, DecreaseTemperature, Manufacturer, MinCups, Price, TurnOff, Oven, MaxTemperature, BrewStrength, NumberOfRacks, IncreaseTemperature, TurnOn, StartTimer, CoffeeMaker, KitchenAppliance, MaxCups, YearBuilt, Grind (Points : 18)



4. (TCO 2) Briefly describe what an interface is and how it can be used in an object-oriented program. Provide example pseudocode showing how an s Interface might be constructed.  (Points : 18)



5. (TCO  7) How do you make an abstract method? When a class contains abstract method, what will happen? Can we still treat the class like a normal class?  Provide pseudocode that represents an abstract class with at least one abstract method. (Points : 18)



6. (TCO 2) Define and implement the overloaded constructors that support the following test function for a Rectangle class. The data members for the Rectangle class are length and width. Both are integer data types.
public static void main(String args[])

            //r1 will take all default value
Rectangle r1 = Rectangle();        
//r2 will take all supplied value
            Rectangle r2 = Rectangle(4, 5);  
//r3 will take supplied length.  width will take default value
            Rectangle r3 = Rectangle(10);    
//r4 will take the same value of r2
Rectangle r4= r2;           
//the rest of the code
(Points : 18)



7. (TCO 7) Create a Java Interface called Animal that contains two method declarations: run and sit.  Create a Java class called Dog that implements the Animal interface and includes two attributes: name and breed. Finally, show an instantiation of the Dog class that sets the Dog's name to Ralph and breed to poodle.
(Points : 22)



Hello Welcome. Thank you for your question, I’m ATLProg and I’ll try to help you.
Customer: replied 3 years ago.

Thanks! I appreciate it. I have about 2 hours and 45 minutes left to take this...

let me see what is can do this is Java correct or c++
Customer: replied 3 years ago.

This is Java.

got it
Customer: replied 3 years ago.

Cool and thanks again!


You need to spend $3 to view this post. Add Funds to your account and buy credits.
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9148
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
ATLProg and 2 other Homework Specialists are ready to help you
Customer: replied 3 years ago.

Thank you... Would you be able to check some of my multiple choice answers?

Please create new question requesting me

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Previous | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX

Meet The Experts:

  • LogicPro



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >
  • LogicPro's Avatar



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany


    Satisfied Customers:

    More than 5000 online tutoring sessions.
  • Linda_us's Avatar


    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    Post Graduate Diploma in Management (MBA)
  • Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    Experience with chartered accountancy
  • Bizhelp's Avatar



    Satisfied Customers:

    Bachelors Degree and CPA with Accounting work experience
  • Seanna's Avatar



    Satisfied Customers:

    3,000+ satisfied customers, all topics, A+ work

Related Homework Questions