Lara

 

5PM to 7PM Batch answer-key 6-1-2017

 

 

1.       Object class

2.       .class file

3.       This()

4.       True

5.       No

6.       No

7.       Java.lang.Object

8.       Package

9.       True

10.   Yes

11.   No

12.   Default

13.   Yes

14.   No

15.   (I) String  (II) System    (III)Object

16.   Current class

17. H-SIB

from H.test

18. D.test

D.test

done

19. 10

20

30

20

10

20. Software work

Hr work

Sales work

done

21. from F.test1

from F.test1

from G.test2

from F.test1

done

22. modified test1

done

23. test(int, int)

sum:30

test(String, String)

sum:abcxyz

done

24. G-SIB

main begin

D-SIB

E-SIB

F-SIB

0

main end

25. Compile time error

26. Compile time error

27. done

28. 0

0

from Q-test1

from Q-test1

from R-test3

from Q-test1

from R-test5:0, 0, 0, 0,

0

0

from Q-test2

from Q-test2

from R-test4

from Q-test2

29. Compile time error

30. N-IIB

N()

-------

N-IIB

N()

O-IIB

O()

-------

31. Compile time error

32. Compile time error

33. Compile time error

34. from test1

from test2

from test3()

done

35. compile time error

36. 0

0

37. Run time error

38. Run time error

39. Compile time error

40. Compile time error