Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is a virtual memory? : Dot net architecture

941


What is private constructor? And it's use?

1116


I am working with asp.net 2005 and Crystal report 10. I have an image field on my dataset to show on Crystal report.And the image is shows dynamically from database in image field of CR. The image field is showing well on my Crystal report on its first page with all other data but when i click to open second page of CR,it does not show any data on that.I found that this is because of adding the image field on crystal report. Because when i remove the image field from the CR then it will run both the pages of CR. I am using the Page Load event to bind CR data with Database. And i have already check with the Init event to bind CR , but it still not shows the data on second page when i use image field on that. Please give solution for that.....

1873


What is the difference between an application and a program?

919


I can't be bothered with cas. Can I turn it off?

921


How do you handle this COM components developed in other programming languages in .NET?

1036


where should I put this information then?

970


How to implement the display in the class printdoc (how to resolve the naming conflict) a: no naming conflicts

1056


Define a virtual memory? : Dot net architecture

906


what are login controls?

1881


The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.

15030


What are the different pipelining hazards and how are they eliminated? : Dot net architecture

1027


Can you explain scriptmanager control?

1004


Explain write back and write through caches? : .NET Architecture

893


How does .net remoting work?

1076