Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

QUESTION 1 1. The advantage of using a Java class is that…

Customer Question
QUESTION 1 1. The advantage of...
QUESTION 1
1. The advantage of using a Java class is that all objects that are created will have the same methods, therefore giving them the same "behavior".
True
FalseQUESTION 2
1. The hiding of data and methods within an object of a class is made possible by which object-oriented concept?
a. inheritance
b. polymorphism
c. encapsulation
d. none of the above
QUESTION 3
1. The Java compiler converts source code into machine code specific to the host processor where it is being compiled.
True
False
0.5 points
QUESTION 4
1. Which of these is not a Java primitive data type?
char
integer
float
boolean
0.5 points
QUESTION 5
1. Java enhances portability by consistently specifying the size and format of its numeric primitive data types, regardless of the platform on which a Java program is running.
True
False
0.5 points
QUESTION 6
1. In order to override the implicit data type promotion from one type to another we can use:
format controls
unification
upward compatibility
casting
0.5 points
QUESTION 7
1. Like most high level languages Java uses ASCII for character representation.
True
False
0.5 points
QUESTION 8
1. The advantage of Java abstraction is that in order to call the method of an object you only need to know its interface, not its implementation details.
True
False
0.5 points
QUESTION 9
1. A non-void method must have a return statement.
True
False
0.5 points
QUESTION 10
1. If you don't explicitly create a constructor for a Java class then Java creates a default constructor for you.
True
False
0.5 points
QUESTION 11
1. The portion of a program within which you can refer to a variable is called its:
range
scope
limits
abstraction block
0.5 points
QUESTION 12
1. Overloaded methods must vary in their:
range
names
program placement
number or datatypes of their arguments
0.5 points
QUESTION 13
1. Instance variables can be static.
True
False
0.5 points
QUESTION 14
1. The logical AND operator in Java is:
&
||
+
&&
0.5 points
QUESTION 15
1. The logical OR operator has a higher precedence in Java than the logical AND, the conditional, and the equality operators.
True
False
0.5 points
QUESTION 16
1. To write a "definite loop" in Java you use a loop control variable.
True
False
0.5 points
QUESTION 17
1. If you want to make sure that a loop may never get executed at all you should use a do..while loop construct.
True
False
0.5 points
QUESTION 18
1. Strings are an example of an immutable object.
True
False
0.5 points
QUESTION 19
1. If we want to allow a string to expand in size from its original size then we should make it an object of what class?
Character
String
StringBuilder or StringBuffer
Buffer
0.5 points
QUESTION 20
1. How are arrays passed from one method to another?
by value
a reference to the object is passed by value
both of these
neither of these
Submitted: 2 years ago.Category: Homework
Show More
Show Less
Ask Your Own Homework Question
Answered in 38 minutes by:
1/28/2016
Tutor: LogicPro, Engineer replied 2 years ago
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,458
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified

Hi,

Welcome

What is the deadline?

Ask Your Own Homework Question
Customer reply replied 2 years ago
It just passed about 7 minutes ago
Tutor: LogicPro, Engineer replied 2 years ago

Do you still need the answers?

Ask Your Own Homework Question
Customer reply replied 2 years ago
not any more, i had to turn it in already. Do I get my money back?
Tutor: LogicPro, Engineer replied 2 years ago

Yes But do you have any other question that I can help with?

Ask Your Own Homework Question
Customer reply replied 2 years ago
no thank you
Tutor: LogicPro, Engineer replied 2 years ago

ok. Sending the request. No need to reply

I was offline otherwise you had gotten the answers in time

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers. It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

Thank you for using this site!

LogicPro

Ask Your Own Homework Question
Was this answer helpful?
Ask Scott Your Own Question
Scott
Scott
Scott, MIT Graduate
Category: Homework
Satisfied Customers: 3,040
3,040 Satisfied Customers
Experience: MIT Graduate (Math, Programming, Science, and Music)

Scott is online now

A new question is answered every 9 seconds

How JustAnswer works:

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

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... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...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

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!!!!

AlexLos 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.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, 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.

EstherWoodstock, 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.

RobinElkton, 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.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

13,458 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,551 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,636 satisfied customers

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

F. Naz

F. Naz

Chartered Accountant

2,161 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

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

< Previous | Next >

Related Homework Questions
Children may be exposed to toxic chemicals from paints, carpet
Children may be exposed to toxic chemicals from paints, carpet and cleaning supplies used in classroom environments. Question 1 options: A) True B) False Save Question 2 (1 point) Question 2 Unsaved L… read more
FiveStarLaw
FiveStarLaw
Attorney
Doctoral Degree
477 satisfied customers
Part 1 of 1 - Question 1 of 20 5.0 Points The symbols that
Part 1 of 1 - Question 1 of 20 5.0 Points The symbols that stand for amounts are called: A. digits. B. numbers. C. numerals. D. numerics. Reset Selection Mark for Review What's This? Question 2 of 20 … read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
trace a water molecule as it moves through the urinary system
trace a water molecule as it moves through the urinary system and is excreted from the body. starting point:the water molecule enters a kidney in the blood plasma traveling through the renal artery. e… read more
Dr. Chip
Dr. Chip
M.D.
13,058 satisfied customers
I need help with a homework a tutor just gave me today. its
i need help with a homework a tutor just gave me today. its about electrical estimating and its due for tomorrow!… read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
Looking for psycology homework help. Somethibg along these
Looking for psycology homework help. Somethibg along these lines.These videos are specifically targeted to teens and young adults. The focus of this question is identity formation and emotional develo… read more
GLENN
GLENN
Master of Mathematics
411 satisfied customers
Need help with some data communication/networking homework
Need help with some data communication/networking homework questions. The priority is question 1 and 2e. Thanks… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
My son is sick and I have homework to get done and no time
My son is sick and I have homework to get done and no time to finish … read more
judybailey61
judybailey61
Bachelors degree
196 satisfied customers
For this homework, you are to make a Form that will hold
For this homework, you are to make a Form that will hold input fields for allowing a user to set the begin and end dates of a potential tour. This form will submit the information to a Servlet, which … read more
LogicPro
LogicPro
Engineer
13,458 satisfied customers
I'm working on a program for a homework assignment and I
I'm working on a program for a homework assignment and I can't figure out why it's not working. I've tried finding help online but am not having any success. … read more
LogicPro
LogicPro
Engineer
13,458 satisfied customers
I have some production and operations homework.. can you
Hi! I have some production and operations homework.. can you help me? … read more
GLENN
GLENN
Master of Mathematics
411 satisfied customers
PYTON homework. Write a function that counts the number of
Write a function that counts the number of alphabetic characters (a through z, or A through Z) in your text and then keeps track of how many are the letter ‘a'. Your function should print an analysis of the text like this: Your text contains 232 alphabetic characters, of which 24.8% are 'a'.2. [10 points] Write a function that implements a substitution cipher. In a substitution cipher one letter is substituted for another to garble the message. For example A -> Q, B -> T, C -> G etc. your function should take two parameters, the message you want to encrypt, and a string that represents the mapping of the 26 letters in the alphabet. Your function should return a string that is the encrypted version of the message.For example, if your text is 'abc Franklin Student', and your mapping is 'abcdefghijklmnopqrstuvwxyz' to 'bcdefghijklmnopqrstuvwxyza' which means a is going to be replaced by b, b is going to be replaced by c and so on. Same rules apply for upper case letters. A is going to be replaced with B, and so on.Your program should print the encrypted version of 'abc Franklin Student', which is: bcd Gsbolmjo Tuvefou … read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
NOTE: This question is a homework given by the same
NOTE: This question is a homework given by the same professor. It does not violate any honor code because same question is repeatedly asked different students. DO NOT FLAGCase Study #1: Technology & P… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Create a probability distribution using the data which shows
Create a probability distribution using the data which shows how many cartons of the wine cooler were bought per customer in a month. Calculate the mean and the standard deviation of your probability … read more
GLENN
GLENN
Master of Mathematics
411 satisfied customers
Sons are encouraged to engage in _____ behavior, whereas daughters
Sons are encouraged to engage in _____ behavior, whereas daughters are encouraged to engage in _____ behavior. … read more
Cher
Cher
JustAnswer Expert & Mentor;Teacher/Tutor
Masters Degree
1,382 satisfied customers
Pittman company is a small but growing manufacturer of
Pittman company is a small but growing manufacturer of telecommunications equipment. The company has no sales force of its own; rather, it relies completely on independent sales agents to markets its … read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Penn Foster Bookkeeping
M. Castillo… read more
Kara T
Kara T
Expert Homework Tutor
Bachelor's Degree
288 satisfied customers
The scientific method includes all of the following EXCEPT:
The scientific method includes all of the following EXCEPT: (Points: 5) observation. hypothesis making. testing. the application of knowledge gained. 2. 2. A control group differs from an experimental… read more
R.R. Jha
R.R. Jha
Bachelor\u0027s Degree
150 satisfied customers
For BusinessTutor Only Hello, Im
"For BusinessTutor Only" Hello, I'm requesting your assistance once again. Exercise: Rizio co. purchases a machine for $12,500, terms 2/10, n/60, FOB shipping point. the seller prepaid the $360 freigh… read more
Manal Elkhoshkhany
Manal Elkhoshkhany
Tutor
4,551 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x