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
Define an applet in java?
How are variables stored in memory?
What is the difference between yielding and sleeping in java programming?
Can private method static?
What is runtime locatable code?
Name few java util classes introduced with java 8 ?
What is the difference between menuitem and checkboxmenu item?
How can the checkbox class be used to create a radio button?
Explain covariant method overriding in java.
Difference between association, composition and aggregation?
What are methods?
Explain differences between collection api and stream api?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
Can singleton class be cloned?
What is use of arraylist in java?