Here's the best answer I can give you, but bear with me.
The second option is incorrect because a class method must have a class identifier not an object identifier. What makes myObject an object identifier is the fact that it was created as an instance of the class MyClass in the constructor in line 5 (MyClass myObject= new MyClass(12.4,20);
The answer here should be MyClass.method2(20); Methods must have a set of parentheses, even if it has nothing inside. The first answer has a class identifier but the SOME_VALUE acts much like the Integer.MAX_VALUE; code which stores a constant value and does not actually perform tasks like most methods.
In short, the answer should be the last one but I hope my explanation cleared some things up for you, even if it was a bit more concept heavy than the question probably intended.
Answer:
expr.at(g) returns a string, not a char. They are not the same thing and that is what the compiler is complaining about.
Answer:
1. Clients and servers—how services such as e-mail and web pages connect using networks.
2. IP addresses—how devices on a network can be found.
3. Network hubs, switches and cables—the hardware building blocks of any network.
4. Routers and firewalls—how to organize and control the flow of traffic on a network.
Answer:
a source and a target.
Explanation:
In computer science and information theory, data differencing or differential compression is producing a technical description of the difference between two sets of data – a source and a target.
Answer:
A I think I might be wrong