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 are class,constructor and primitive data types?

Answer Posted / janet

Class is a template for multiple objects with
similar features and it is a blue print for objects. it
defines a type of object according to the data the object
can hold and the operations the object can perform.
Constructor is a special kind of method that
determines how an object is initialized when created.
primitive data types are 8 types and they are:
byte,short,int,long,float,double,boolean,char.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are thread safe functions?

990


Is array size fixed in java?

1028


Which sorting is used in arrays sort in java?

1128


Can we define a package statement after the import statement in java?

1116


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

1012


What does microservices mean?

1002


Explain about wait() method?

1075


What is meant by string is immutable?

1158


How do you escape a string?

1037


Define an enumeration?

1095


How many bytes are there?

1054


What is field name?

1076


What is meant by main method?

1119


What happens when a thread cannot acquire a lock on an object in java programming?

1074


How do you use compareto method?

1069