• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SFSB - Constructor

 
Deepika Joshi
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
source - whizlab ques.

Constructor can invoke any operation in bean class.
FALSE
No operation is allowed in constructor.

I did not notice this (above) fact earlier. Is it because we have option of PostConstruct method.

Any comments?

Thanks.


 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know. Have you tried it?
 
Ralph Jaus
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Such questions refer to the tables of allowed methods in core spec 4.4.1, 4.5.2 and 5.5.1. Best you learn them by heart - I had a corresponding question in the exam.
 
Deepika Joshi
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply...

I am looking to mentioned section of specs....

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic