what are class,constructor and primitive data types?

Answer Posted / ravikiran

class is a template for members and methods to be places
constructor is used to initialize the instance variables.
primitive datatypes are the memory holders for diffrent
type of data to hold

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it called a string?

563


Why a dead thread occurs?

575


What is a memory leak in java?

547


What is the applet security manager, and what does it provide?

536


What is the full name of java?

570






What is difference between an object and a class?

611


Is string is a class in java?

525


What is the symbol for average?

518


Why enumeration is faster than iterator?

527


What is java reflection api?

557


Can a static block throw exception?

653


How we can make copy of a java object?

653


Why are constructors used?

557


What is the main advantage of passing argument by reference?

501


How does regex work?

524