July, 2010
A10.1-R4: INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING THROUGH JAVA
PART ONE
(Answer all the questions)
1. Each question below gives a multiple choice of answers. Choose the most appropriate
one and enter in the “tear-off” answer sheet attached to the question paper, following
instructions therein. (1x10)
1.1 The minimum value of char type variable is
A) ‘\u0020’
B) ‘\u00ff’
C) ‘ ’
D) ‘\u0000’
1.2 Which of the following is correct?
A) int a = 16, a>>2 = 4
B) int b = -8, b>>1 = -4
C) int a = 16, a>>>2 = 4
D) All of the above