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 are the options provived by vss to the user? how it will help us while delevoping application?
Explain about the base class library provided by microsoft.net?
What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?
Can you explain update progress control?
Why the config file might not be writable
How is the using() pattern useful? What is idisposable?
Explain Singleton design pattern in .net
What is difference between .net and visual studio?
What is Video Streaming in .net??
What is .net viewstate?
State and explain about microsoft.net?
Explain about validation?
What is one way operation?
Explain the difference between primary & secondary storage device? : Dot net architecture
12. Types of polymorphisem[Run and Design Exp.]