He should pick the most reliable one.
Hope this helps.
Answer:
if its a test try to just do it on your own ,you got nothing to lose from a test, its just to understand what you know on the concepts, but if you would still like answers just search around the net or here and you can always post the questions to ask people for help someone would eventually answer your questions but then beware of bots that post links as answer!
Explanation:
<span>As the demand for goods and services increases job growth... </span>Increases as well.
Answer:
public class Circle {
private double radius;
public Circle(double r)
{
radius = r;
}
public double getArea()
{
return Math.PI * radius * radius;
}
public double getRadius()
{
return radius;
}
public String toString()
{
String str;
str = "Radius: " + radius +
"Area: " + getArea();
return str;
}
public boolean equals(Circle c)
{
boolean status;
if(c.getRadius() == radius)
status = true;
else
status = false;
return status;
}
public boolean greaterThan(Circle c)
{
boolean status;
if(c.getArea() > getArea())
status = true;
else
status = false;
return status;
}
}
Explanation:
There is nothing with the logic of your code it work fine the problem is with the structure of your code you added an extra curly brace before declaring (r)
****************************** Am talking about this section **********************
public class Circle {
{
private double radius;
**************************** It should be *******************************************
public class Circle {
private double radius;
Explanation:
- <em>Syntaxis</em><em> refers to the spelling and grammar of a programing language. </em>Computers are inflexible machines that understand only if you type in the exact form it expects. This expected form is called syntaxis, it can vary from program to program. There are three levels of syntax, lexical (basic symbols such as names or values), concrete (rules for writing expressions, statements, and programs) and abstract (the internal representation of the program). <em>One example of this is the use of a semi-colon (;) to mark a part of code as complete in Java if you don't use correct syntax the program will mark a syntax error. </em>
- <em>Semantic </em><em>means ‘meaningful’, a semantic data model is meaningful and understood by anyone (both humans and machines) regardless of his background or expertise,</em> this means the linguistic representations or symbols support logical outcomes.<em> An example of this is C++, a language that is less semantic than Java because Java uses meaningful words for its classes, methods, and fields.</em>
<em> </em>
I hope you find this information useful and interesting! Good luck!