0

is constructor have a same name as class name?

9th Sep 2016, 2:17 PM
Pooja Ghetia
6 Answers
+ 1
A constructor has always the same name as the class.
9th Sep 2016, 2:20 PM
Zen
Zen - avatar
0
yes it must have the same name as the class.A and as u may know Java is case sensitive hence the case should be same too
9th Sep 2016, 11:43 PM
Ankur Sharma
Ankur Sharma - avatar
0
yes
10th Sep 2016, 4:33 PM
Saransh Agarwal
Saransh Agarwal - avatar
0
100% yes
18th Sep 2016, 5:34 PM
aman kumar
aman kumar - avatar
0
yes
1st Oct 2016, 5:55 PM
balram sao
balram sao - avatar
0
obviously yes
16th Dec 2016, 4:23 AM
Patel Ujjval Rajeshbhai
Patel Ujjval Rajeshbhai - avatar