What do u mean constructor in java ?
Answer / jeetesh
constructor is nothing but name of class name of the
constructor should be same
Main goal of constructor: is to initialize states of
an objects value or attributes values
while creating object to the class automatically
constructor will call
constructor in java:
1 name of constructor and name of class should be same
2 constructor it will call while
Creating object
3 constructor does not have return value
4 constructor cannot be final
5 constructors cannot be static if it is static means we
cannot create object to static
6 constructor cannot be inherit
7 constructor cannot be abstract
8 constructor first statement should be either super()
calling or this() calling
9 Overriding is not possible in case of constructor
| Is This Answer Correct ? | 1 Yes | 0 No |
Write a program to input 10 elements in an array and seperate even and odd numbers, positive and negative between them ?
In how many ways can you put numbers 1 to 9 without repeating in a 3*3 matrix,So that the total of elements in any row and column and diagonal is 15?
which are the books available in, India for STONE COLUMNS/GRANULAR PILES?
write a program to print only the largest number between elements of an 1-d array?
HTML tag for bulleted list is--------------
Why we use 4 - 20 ma?
Write a test case plan for a typical banking application which involves functionalities like Balance enquiry, deposit, fund transfer etc. Make your assumptions and mention the same in your answer sheet.
Please explain why you are suitable for the position that you have applied for?
hai im going to face ibps SO IT officers grade 1 interview. if anyone had an idea plz tel me expected and experienced questions and mail to anusha_k_anu@yahoo.com
why pegging is required for deaerator in power plant nd why maintain the constant pressure in deaerator 3.5 kg/cm2.
How to calculte strengh of scaffoling(indian)
If a stored procedure is taking a table data type, how it looks?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)