Methods « Class « Java






1.Show a class that has a method and a field with the same name
2.This program demonstrates parameter passing in Java