what diff bw constructor method & method

Answer Posted / prasad

A CONSTRUCTOR METHOD IS A METHOD USED TO PERFORM CUSTOM
INITIALIZATIONS.
AND A NORAMAL METHOD IS HAVING INSTANCE VARIABLES AND METHODS

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cookie in java?

457


Are there tuples in java?

453


What is meant by rest api in java?

450


What is the meaning of loosely coupled in java?

456


What is hql in java?

467






Does netbeans need jdk?

455


What is meant by annotation in java?

461


In hibernate what is the difference between the Session and SessionFactory?

507


What is native api in java?

459


What is setstring method in java?

488


What is Map,List,hashtable,ArrayList and difference between them??

2252


I have deployed a .war file in my application server comprising of struts and hibernate.If i want to change the "dialect" property of hibernate cfg file how can i change(I have only .war file)... Thanks in advance

1413


What is rxjava2?

455


How do I run a project in netbeans?

466


What is reflection in java?

468