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 the difference between a threads start() and run() methods? : Java thread
What are extraneous variables examples?
What is the difference between stored procedure & function?
What does %d do in java?
Why is sizeof not a function?
Explain all java features with real time examples
What's the purpose of using break in each case of switch statement?
Why is it important to initialize a variable?
What is final method?
What do you understand by the bean persistent property?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
Which types of exceptions are caught at compile time?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
What is meant by oops concept in java?
What is overloading and overriding in java?