1. Why we use interface?
2. Difference between Abstract class and interface.
3.
class A
{
public virtual print()
{
}
}
class B:A
{
public override print()
{
}
}
class C:B
{
public new print()
{
}
}
main()
{
A objA = new A();
C objC= new C();
objA = objC;
objA.print();// -- override method of B
objC.print() // C method
}
4. How to show user counter in Website (MVC)
5. Session.Abandon() what will be impact.
If on Logout button we have called Session.Abandon what will happen
New session will be made or some sesssion will be there.
6. What is providers in angular 5
2. Difference between Abstract class and interface.
3.
class A
{
public virtual print()
{
}
}
class B:A
{
public override print()
{
}
}
class C:B
{
public new print()
{
}
}
main()
{
A objA = new A();
C objC= new C();
objA = objC;
objA.print();// -- override method of B
objC.print() // C method
}
4. How to show user counter in Website (MVC)
5. Session.Abandon() what will be impact.
If on Logout button we have called Session.Abandon what will happen
New session will be made or some sesssion will be there.
6. What is providers in angular 5
Ans Providers are a set of entities that are entitled to be injected as a parameter of the constructor, and they automatically generate a singleton instance.
7. How can we make service as static?
8. What is observable?
7. How can we make service as static?
8. What is observable?
Ans : https://interview-preparation-for-you.blogspot.com/2018/03/observable-in-angular.html
9. How to send value from child to Parent ?
Ans using Output driective
10. We have following fields in table employe|id|saalry|department
.How to get highest paid employee in the department?
Ans Select min(employeeName),min(departmentName), max(salary) from employee group by department.
11. How to load module dynamically?
Ans : import("..common/commonModule").next(x=>{/*Some Code*/})
9. How to send value from child to Parent ?
Ans using Output driective
10. We have following fields in table employe|id|saalry|department
.How to get highest paid employee in the department?
Ans Select min(employeeName),min(departmentName), max(salary) from employee group by department.
11. How to load module dynamically?
Ans : import("..common/commonModule").next(x=>{/*Some Code*/})
No comments:
Post a Comment