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...

Define a java class.

Answer Posted / hrindows@gmail.com

A class in Java is a blueprint that includes all your data. A class contains fields (variables) and methods to describe the behavior of an object. Let’s have a look at the syntax of a class.
class Abc {
member variables // class body
methods}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have any code between try and catch blocks?

936


What is a nested class?

1068


How many types of memory areas are allocated by JVM in java?

1029


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

998


What is data type example?

913


how come we know the object is no more used in the class?

6378


What are the advantages of encapsulation in java?

962


What is complexity and its types?

968


how are methods defined?

1000


What is the difference between synchronized and synchronized block?

1011


What are different ways of object creation in java ?

1029


Explain covariant method overriding in java.

1063


What is e in java?

912


What is java volatile?

970


Why java uses the concept of the string literal?

1013