what are class,constructor and primitive data types?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
How can we make sure main() is the last thread to finish in java program?
How many arguments can a method have java?
What is the difference between a vector & an array list?
How can we achieve thread safety in java?
What is advantage of using threads?
What is the difference between C++ & Java?
78 Answers College School Exams Tests, HAL, SUN, Syntel, TCS, Wipro,
What is the static variable?
What is formatted output?
where can we get jAVA project orientation traing in HYDERABD
i need to know the site which compiles and run the java program completely in online... thank you for your reply in advance
What is the original name of java?
What is boolean query?