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 do you mean by marker interface in java?
What is the difference between super class & sub class?
Describe 2 different ways to concatenate two strings.
What is nextline method in java?
What restrictions are placed on method overloading and method overriding?
How does list work in java?
Which package has light weight components in java programming?
What is getkey () in java?
What is Session and cookies?Explain in detail with an example?
Can an interface have a constructor?
what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }
How to declare objects of a class ?
0 Answers Akamai Technologies,