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
Can you Explain
Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?
What is the use of web.config?
Explain hard disk and what is its purpose? : Dot net architecture
Use of Enable view state ? if turn off what happen ?
How do you handle this COM components developed in other programming languages in .NET?
Explain the five stages in a dlx pipeline? : .NET Architecture
Explain the difference between primary & secondary storage device? : .NET Architecture
I want to create a project like google maps how can we do that with atlas?
Explain the use of virtual, sealed, override, and abstract.
How resource files are used in .net?
Explain
Explain about httpruntime.cach.get(); method?
What is .net mobile images control. Explain with an example? : Microsoft dot net mobile
What is .net mobile forms? : Microsoft dot net mobile