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 an exception be thrown manually by a programmer?
What is an abstract method in java programming?
What is internal iteration in java se 8?
Explain the importance of import keyword in java?
When should a function throw an exception?
0 Answers Thomson Reuters, Virtusa,
can we declare private class in java file?
what is interface in java? Explain
How many types of equations are there?
What do you mean by buffering?
What do you mean by thread safe?
Why enumeration is faster than iterator?
Hi, well i am unable to understand that why it is mandatory to have same hashcode, if two objects are same? Thanks in advance.