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 |
why we write public static void main (String args[]) in core java plz explain briefly??????????????????
Is minecraft 1.15 out?
How can you share data between two thread in Java?
Which is bigger double or float?
What is the immediate superclass of the Dialog class?
What is the final class?
when to use ArrayList and when to use HashMap in webApplication.
What is the difference between hashset and treeset in java?
How do you decide when to use arraylist and linkedlist?
What does int argc char * argv [] mean?
Explain java coding standards for methods?
what really hapens when a object is created using new operator? 1.is it allocates memory to all variables and methods in the class with reference to that object?