Guest User

Untitled

a guest
Jan 12th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. 1.5) Consider the following partial class:
  2. public class TestClass {
  3. private int test(String aString){
  4. this.someMethod(aString, 43);
  5. // rest of method omitted
  6. }
  7. private void someMethod(String theString, int anInt){
  8. //method body omitted
  9. }
  10. // rest of TestClass code has been omitted
  11. }
  12. In method test, when the statement in the box is executed, what is the type of the object or value that the variable
  13. this is bound to?
  14. a. String
  15. b. void
  16. c. int
  17. d. Null
  18. e. TestClass
  19. f. none of the above
Add Comment
Please, Sign In to add comment