+1 vote
170 views
in Programming Languages & Algorithms by (user.guest)

1 Answer

+1 vote
by (user.guest)
edited by (user.guest)
 
Best answer
A constructor is a special type of subroutine used to create an object, while a method is a group of statement to perform a certain action in a code.

A constructor does not have a return type, but a method has a return type.

Related questions

+1 vote
1 answer 191 views
+1 vote
1 answer 522 views
+3 votes
1 answer 406 views
0 votes
1 answer 96 views
+1 vote
1 answer 153 views
+3 votes
1 answer 4.2k views
+2 votes
1 answer 3.6k views
+2 votes
1 answer 617 views
+1 vote
1 answer 186 views
0 votes
1 answer 67 views
+1 vote
1 answer 55 views
+1 vote
1 answer 104 views
+1 vote
1 answer 84 views
+1 vote
1 answer 158 views
+1 vote
1 answer 178 views
+2 votes
1 answer 187 views
+2 votes
1 answer 155 views
+1 vote
1 answer 354 views
+2 votes
1 answer 1.3k views
+2 votes
1 answer 1.1k views
+2 votes
1 answer 2.8k views
+3 votes
1 answer 461 views
+1 vote
1 answer 1.2k views
+3 votes
1 answer 878 views
+2 votes
1 answer 5.0k views
+1 vote
1 answer 1.9k views
+3 votes
1 answer 2.3k views
+2 votes
1 answer 506 views
Welcome to CPENTalk.com
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

...