ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net AllOther
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
what is class and object explain with example?
 Question Submitted By :: Raghu_113
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is class and object explain with example?
Answer
# 1
Classes and objects are separate but related concepts. 
Every object belongs to a class and every class contains 
one or more related objects. A Class is static. The 
attributes of a class don't change. An Object on the other 
hand has a limited lifespan. Objects are created and 
eventually destroyed. Also during that lifetime, the 
attributes of the object may undergo significant change. A 
class is a general concept while objects are the specific 
and real instances that embody that concept
 
Is This Answer Correct ?    2 Yes 0 No
Karthik
 
  Re: what is class and object explain with example?
Answer
# 2
class is templet of an object. object is a instatiate the 
class.Object is super class of all objects.

Class One{   //class

public void getMethod(){

Console.WriteLine("one....");

}

public static void main(String[] args)
{
 One one = new One();  //one is an object of that class. 
console.writeLine();
}
 
Is This Answer Correct ?    0 Yes 0 No
Dsr
 
 
 

 
 
 
Other Dot Net AllOther Interview Questions
 
  Question Asked @ Answers
 
which would be the best to use inproc,outproc or sql server Ness-Technologies1
Please tell me the .net 2.5 frame work with example  2
what is a tool tip Six-Sigma2
how can u manage sessions ? Ness-Technologies2
what is Difference beetween Array and Hash Table.? Patni5
while developing a asp.net 2.0 ajax application how to maitain and check the ACID property for each transaction Aviva2
Difference between abstract class and interface HCL31
Explain in-proc,out-proc and sql server. Ness-Technologies3
How many types of languages does .net support? name at least 10-15? Six-Sigma7
How many types of assemblies are there in the visual studio.net? Six-Sigma1
How can i create only one instance of class and thus doesn't allow creating any more instances?  1
3. Should validation (did the user enter a real date) occur server-side or client-side? Why?  3
what is the need of vss to developer?  1
how windows applications different from the console applications? Six-Sigma1
which of the following statement is true about gac. a)it is being handled by .net framwork b)It is special folder c)it can have files with same name etc etc. Honeywell2
Explain the differences between Server-side and Client-side code?  1
i want to know that now a days which software course has demand and more opportunities please give me reply to my mail id APC3
What does the "EnableViewState" property do? Why would I want it on or off?  1
what is web service?  1
what is meant by language interoperability and language integration? Six-Sigma1
 
For more Dot Net AllOther Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com