public class College{ int fee=30000; public College (int fee) {System.out.println("local variable fee "+fee); System.out.println("instance variable fee"+this.fee); }public static void main(String[] args){College c=new College (20000);}}
Not registered? Create an account
Forgot Password?
Already a registered user? Login