• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is the Formatter class on the SCJP 5 real Exam ??

 
Simran Dass
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Is Formatter class on the SCJP 5 Exam ?
I faced a question on creation of a Formatter object in the Examlab Practice
Exam: -

Formatter f = new Formatter(.....


I don't mean formatting ,thats very much there.

Formatter class ,its constructors are not given in the K&B.I thought its not
there.I just read the printf method.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
printf internally uses a formatter. However you do not need to know how to instantiate this class.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!