in Education by

Name some of the design patterns which are used in JDK library.

1 Answer

0 votes
by

Name some of the design patterns which are used in JDK library.

Following are some of the design patterns which are used in JDK library.

Decorator patttern is used by Wrapper classes.

Singleton pattern is used by Runtime, Calendar classes.

Factory pattern is used by Wrapper class like Integer.valueOf.

Observer pattern is used by event handling frameworks like swing, awt.

Related questions

0 votes
    Name types of Design Patterns?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    What are some features does Groovy JDK offers?...
asked Sep 25, 2021 in Technology by JackTerrance
0 votes
    Are you aware of design patterns?...
asked Jun 13, 2021 in Education by Editorial Staff
0 votes
    What are Design Patterns?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    Is there a project that maintains annotations for patterns? For example, when I write a builder, I want ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 13, 2022 in Education by JackTerrance
0 votes
    If some of output patterns in pattern association problem are identical then problem shifts to? (a) pattern storage ... ) none of the mentioned Please answer the above question....
asked Sep 5, 2022 in Education by JackTerrance
0 votes
    What does an asterisk next to the Job name signify in the design workspace? It is an active Job The Job ... unsaved changes The job is currently running The Job contains errors...
asked Mar 23, 2021 by JackTerrance
0 votes
    The database design prevents some data from being represented due to _______ (a) Deletion anomalies (b) ... Querying Database topic in chapter Transactions of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    Which class loader loads jar files from JDK directory? (a) Bootstrap (b) Extension (c) System (d) ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Name some of the commonly used HTTP methods used in REST based architecture?...
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    a. State the number of bytes occupied by char and int data types. b. Differentiate between = and == ... implicit type conversion. Select the correct answer from above options...
asked Dec 6, 2021 in Education by JackTerrance
0 votes
    a. State the number of bytes occupied by char and int data types. b. Differentiate between = and == ... implicit type conversion. Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    a. State the number of bytes occupied by char and int data types. b. Differentiate between = and == ... implicit type conversion. Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    I am trying to use Eclipse on a friends computer but we keep getting this when we run Eclipse We ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 14, 2022 in Education by JackTerrance
0 votes
    Im trying to install Android SDK but it says that JRE is not enough and that it needs JDK, I ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 10, 2022 in Education by JackTerrance
...