why we use constructors instead of methods in java?

Ads
 

why we use constructors instead of methods in java?

why we use constructors instead of methods in java?

View Answers

Ads









Related Tutorials/Questions & Answers:
why we use constructors instead of methods in java?
why we use struts framework instead of springs
Advertisements
why and where we use setter and getter methods in java, please give me one example program.....
Why do we use ORM?
why we use abstract class in java?
Why we use singleton class in hibernate sessionfactory?
why we use design patterns in java?Example?
arrays,why we cannot use this statement
arrays,why we cannot use this statement
whats the difference between struts and spring frameworks.why we use spring instead of struts
why we use ^ operator in sql, and what is the meaning of that operator?
Javah
Why we should use string args[] in main method in java?
Java2
can we use scanner class,class , object and methods to get output without using constructor ????
Why does this code prints fAfA instead of fBfA ?
Why doesn't Java allow overriding of static methods?
list of predeined methods and use java
Javah -  Header File Generator
Why we need data science?
Why Use Docker for Development?
Why to use Spring Framework?
Why to use Session interface in Hibernate?
Javah - Header File Generator
Why not use Double or Float to represent currency?
Constructors in Java
Which java collection to use in scenario below and Why?
Can we replace main() with static block or with other static methods?
Identify the use and behavior of the MessageDrivenContext interface methods.
What is Angular and Why Use It?
Why should we learn R programming?

Ads