what is class and object explain with example?
Answer Posted / dsr
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 ? | 15 Yes | 3 No |
Post New Answer View All Answers
What is parallel computing?
Explain about appdomains?
Does .NET runtime offer Deterministic Destruction or not?
Explain how does .net mobile work? : Microsoft dot net mobile
Explain about validation?
any one can explain about projectarchitecture and project approach briefly
What are the types of application software?
Explain pipelining? : .NET Architecture
What is the difference between absolute expiration and sliding-time expiration?
Explain the Lapsed Listener problem in .net
Explain about continuable exceptions?
Explain what does the term "green architecture" mean? : Dot net architecture
What is cache coherency and how is it eliminated? : .NET Architecture
how can we achieve language interoperability through CLS? How MSIL works?
what are the fundamental and common properties of .net controls?