175.
using System;
class Employee
{
public int number;
private String name;
protected double salary;
}
class Program
{
static void Main(string[] args)
{
Employee obj=new Employee();
Console.WriteLine(obj.number);
Console.WriteLine(obj.name);
Console.WriteLine(obj.salary);
}
}
Will produce?
View Description
Compile error: name and salary are not accessible due to protection level.