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 |
JSP is by default thread safe or not? what is the meaning of isThreadSafe="true" and isThreadSafe="false". Explain it? Thanks, Seenu
Difference between ‘is-a’ and ‘has-a’ relationship in java?
Can we use both this () and super () in a constructor?
Explain java coding standards for methods?
what are the different non-access specifiers in java?
How are the elements of a gridbaglayout organized in java programming?
What is the static import?
What does exclamation mean in java?
byte a=5; byte b=5; byte c=a+b; System.out.println(c); whats the o/p?
When will you define a method as static?
What does math floor () do?
What is the purpose of stub and skeleton?