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 |
What is meant by structural programming?
what is difference Between Core Java and advance java
60 Answers HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,
What is finally in Java?
There are 100 keys and values in HashMap.how to get the keys and values?
is this possible to create an array of 0 length? if so how? if not so why? coz we have an array in main() likw this "static void main(String [] s) then what it signifies?
What is difference between c++ and java ?
When you declare a method as abstract method ?
How does enum work in java?
What is thread count in java?
What is the method overriding?
how you will prevent inheritance is there any other way other than inheritance?
What is the java project architecture?