问题内容: The output of the program written is Null. I cant find where is the error in here? Can anyone explain the following code and why does it return Null? class methodexample { int number; String name; void data() { int number=5; int name="Rahul"; } […]