what diff bw constructor method & method

Answer Posted / boopathy

method only accessed after create class object,
but constructor method access when object initialized

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I enable jvm?

551


Why are lambda functions called lambda?

556


Which is better openjdk or oracle jdk?

522


What is jpa entitymanager?

533


Is java a framework?

548






How should I format my code? How should I comment my code?

578


What is the meaning of loosely coupled in java?

534


What is stateful in java?

576


Please can anybody explain what exactly "the project architecture" means???

1760


How do I know if I have jre or jdk?

579


Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.

1589


What are struts java?

562


How do javabeans work?

554


What are jpa annotations?

554


What is tier in java?

487