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
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form.
Explain about common language infrastructure?
Explain about developer benefit from memory management?
Explain about clr?
State the different levels of exceptional safety?
HttpHendler and HttpModules
What is difference between .net and visual studio?
readonly syntax ?
What are bindings?
Define cache coherency? : Dot net architecture
How will you do windows authentication and what is the namespace?
difference between data reader and dataset
What is cookie less session?
What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture
What are the important principles of soa (service oriented architecture)?