what are class,constructor and primitive data types?
Answer Posted / 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 |
Post New Answer View All Answers
What is lambda expression in java?
Which object oriented concept is achieved by using overloading and overriding?
What is the difference between the file and randomaccessfile classes?
What is garbage collection? What is the process that is responsible for doing that in java?
placement papaers of spring computing technology
What are data types in programming?
What is gui programming?
What is class forname?
What is the technique adopted to create an immutable class?
What is a programming object?
Is singleton a bad practice?
Difference between notify() method and notifyall() method in java?
What happens when you add a double value to a string?
What is the purpose of final keyword and when to use it?
Under what conditions is an object’s finalize() method invoked by the garbage collector?