Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1.5) Consider the following partial class:
- public class TestClass {
- private int test(String aString){
- this.someMethod(aString, 43);
- // rest of method omitted
- }
- private void someMethod(String theString, int anInt){
- //method body omitted
- }
- // rest of TestClass code has been omitted
- }
- In method test, when the statement in the box is executed, what is the type of the object or value that the variable
- this is bound to?
- a. String
- b. void
- c. int
- d. Null
- e. TestClass
- f. none of the above
Add Comment
Please, Sign In to add comment