Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
PL
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Cisco
Amazon
Google
CompTIA
SAP
VMware
Oracle
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ISC2
ServiceNow
Dell EMC
CheckPoint
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Oracle Discussions
Exam 1Z0-809 Topic 7 Question 86 Discussion
Oracle Exam 1Z0-809 Topic 7 Question 86 Discussion
Actual exam question for Oracle's 1Z0-809 exam
Question #: 86
Topic #: 7
[All 1Z0-809 Questions]
Which two are elements of a singleton class? (Choose two.)
A
a transient reference to point to the single instance
B
a public method to instantiate the single instance
C
a public static method to return a copy of the singleton reference
D
a private constructor to the class
E
a public reference to point to the single instance
Show Suggested Answer
Hide Answer
Suggested Answer:
B, D
by
Barrett
at
May 02, 2025, 04:25 PM
Limited Time Offer
25%
Off
Get Premium 1Z0-809 Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Pilar
3 days ago
Singleton, you say? More like 'single-brain-cell' pattern if you ask me. But I'll go with D and E anyway, just to play it safe.
upvoted
0
times
...
Noelia
4 days ago
I've got a hunch that D and C are the right choices. The private constructor and the public static method to return the instance? Classic singleton pattern.
upvoted
0
times
...
Juan
5 days ago
D and E, baby! The private constructor and the public reference are the way to go. Anything else is just a distraction.
upvoted
0
times
...
Dorethea
6 days ago
Haha, this is too easy! The answer is clearly D and B. A private constructor and a public method to get the instance? That's textbook singleton!
upvoted
0
times
...
Dominga
9 days ago
Actually, it's B and D because the private constructor ensures only one instance can be created.
upvoted
0
times
...
Katina
9 days ago
Hmm, I think A and D are the correct answers. The transient reference and the private constructor are the essential components.
upvoted
0
times
...
Vallie
15 days ago
I'm not sure, but I think it's C and E.
upvoted
0
times
...
Margart
1 months ago
I agree with Latia, B and D make sense for a singleton class.
upvoted
0
times
...
Latia
1 months ago
I think it's B and D.
upvoted
0
times
...
Rodrigo
2 months ago
D and E, for sure! The private constructor and the public reference to the single instance are the key elements of a singleton class.
upvoted
0
times
Xochitl
6 days ago
Definitely, those two elements ensure that only one instance of the class can exist.
upvoted
0
times
...
Lisha
7 days ago
Yes, the private constructor and the public reference are essential for a singleton class.
upvoted
0
times
...
Cassandra
8 days ago
I think D and E are the correct elements of a singleton class.
upvoted
0
times
...
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
az-700
pass4success
az-104
200-301
200-201
cissp
350-401
350-201
350-501
350-601
350-801
350-901
az-720
az-305
pl-300
Pilar
3 days agoNoelia
4 days agoJuan
5 days agoDorethea
6 days agoDominga
9 days agoKatina
9 days agoVallie
15 days agoMargart
1 months agoLatia
1 months agoRodrigo
2 months agoXochitl
6 days agoLisha
7 days agoCassandra
8 days ago