The following class hierarchy is given. What is the expected output of the code?
BB
CC
AA
BC
You are going to read just one character from a stream called s. Which statement would you use?
ch = read(s, 1)
ch = s. input(1)
ch = input(s, 1)
ch = s. read(l)