Java performs an automatic type conversion when storing a literal integer constant into variables of type byte, short, long and char.
Thus, All the options are correct.
In the line5 and line6 the integer constant 10 and 20 are assigned to byte and short respectively. Here Automatic Type Conversion occurs.
In the line8 and line10 "Widening" happens i.e. byte and short are widened/ typecasted into a larger datatype i.e. int.