maheshbabuummaneni


{ City } hyd
< Country > india
* Profession * .net doveloper
User No # 90898
Total Questions Posted # 1
Total Answers Posted # 16

Total Answers Posted for My Questions # 3
Total Views for My Questions # 15316

Users Marked my Answers as Correct # 26
Users Marked my Answers as Wrong # 18
Questions / { maheshbabuummaneni }
Questions Answers Category Views Company eMail

STATIC METHOD CAN BE OVERLOADING AND OVERIDNG? IS POSSIBLE IN iN c# .NET AND WHAT IS THE REASON??

IBM, TCS,

3 C Sharp 15316




Answers / { maheshbabuummaneni }

Question { 4736 }

Can you declare the override method static while the
original method is non-static?


Answer

when we use virtual key word for method in base class the same thing is used under the derived class just we can change the virtual to override

Is This Answer Correct ?    0 Yes 0 No

Question { 6198 }

Does C# support multiple inheritance?


Answer

c# is not supporting the multiple inheritence,
why because if u done multiple inheritence it shows the amphiquety problem thets why multiple inheritence is not supported.
to overcome this problem with interface

Is This Answer Correct ?    0 Yes 1 No


Question { MMTS, 5766 }

What is overloading and how can this be done ?


Answer

overloading is nothing but method name is same but perameters is different.
for example
class overloading
{
public void add(int x)
{
console.writeline("sum");
}
public void add(int x,int y)
{
console.writeline("THE SUM IS:"+(x+y));
}
}

Is This Answer Correct ?    1 Yes 0 No

Question { MMTS, 22607 }

About Virtual functions and their use ?


Answer

virtual is nothing but it is a keyword ,when we diclare a method with virtual key word in base class thet method must be overroden in derived class

Is This Answer Correct ?    1 Yes 0 No

Question { MMTS, 9578 }

How do you implement Inheritance in dot net ?


Answer

Inheritence is nothing but base class properties come to derived class
example
class sample
{
//here we write some members

}
class sampl1:sample
{
//sample members acess here
}

Is This Answer Correct ?    3 Yes 0 No

Question { Accenture, 10793 }

About Postback ?


Answer

When We want to Exicute the page at the serverside autopost back is re execute at the server side

Is This Answer Correct ?    0 Yes 0 No

Question { Protech, 32745 }

How to kill session?


Answer

WE CAN KILL THE SESSION WITH SESSION.ABANDON()
USING ABOVE METHOD WE CAN KILL THE SESSIONS

Is This Answer Correct ?    0 Yes 1 No

Question { Protech, 8513 }

what is garbage collection?


Answer

GARBAGE COLLECTER IS NOTHING BUT,USING GARBAGE COLLECTOR FREE THE WASTE MEMORY.GARBAGE COLLECTOR IS UNDER THE CLR.IT IS MANAGING THE MEMORY

Is This Answer Correct ?    0 Yes 0 No

Question { 32469 }

diff between forms authentication and windows
authentication?


Answer

main difference between the forms authentication and windows authentication is windows authentication is run under the iis but forms authentications is run user manually

Is This Answer Correct ?    14 Yes 2 No

Question { Infosys, 67393 }

Write a query to delete duplicate records in SQL SERVER


Answer

inthis we have some steps
-->first rimove duplicate values from table
select distinct * from ta1
-->copy the data into anothetable
select distnice * into tb2 from tb1
-->remove the first table
drop table tb1
-->copy the tb2 data into tb1
select distinct * into tb2 from tb1

Is This Answer Correct ?    1 Yes 1 No

Question { 4041 }

what is the use of master pages. how to use it


Answer

MASTER PAGE IS NOTHING BUT,IT IS A CONTAINER IT CAN HOLD MULTIPLE PAGES.JUST LIKE WE HAVE MDIPARENT IN WINDOWS FORMS .
UNDER THE MASTER PAGE WE CAN ADD NUMBER OF CHILD PAGES

Is This Answer Correct ?    0 Yes 0 No

Question { Siebel Systems, 7213 }

What is a delegate?


Answer

Deligate is nothing but method pointer.using this we can call nomber of time of single method or multiple methods
we dont need call metod directly
we want call deligate it will call methods

Is This Answer Correct ?    0 Yes 0 No

Question { TATA, 106500 }

Difference between synchronous & asynchronous communication.


Answer

syncronous means it will sent to claint to total page

but asychronous means it will send perticuler part from the page
ONE MORE DIFERENCE IS:
WHEN WE WANT TO SEND REQUEST IT WILL WAIT UPTO GOT PRIVIOUS RESPONCE
BUT
IN
ASYNCHROUS MEANS ITS NOT BASED ON RESPONCE AGAIN AND AGAIN U CAN SEND REQUEST

Is This Answer Correct ?    1 Yes 1 No

Question { 3804 }

How to call a function when a class implements 2 interfaces and function is present in both interfaces?


Answer

we have two interfaces inclass thet two interfaces having same method name the time wecan call based on interface

example
interface1
{
add()
}
interface2
{
add()
sub()
}
class classname:interface1,interface2
{
'now wewant call the method add from interface1
interface1.add()
'now we want call the method add from interface2
interface2.add()
'now we want call the method sub() from interface2
interface2.sub()
}

Is This Answer Correct ?    1 Yes 0 No

Question { 7702 }

What is Difference between Application object and Session Object


Answer

session is only for uniqe identified of the user
but application object is not only pertiquler person it can be used any person

Is This Answer Correct ?    0 Yes 0 No

 [1]   2    Next