SlideShare a Scribd company logo
1 of 1
Download to read offline
Please write new code:
1. A Java program contains various pairs of grouping symbols, such as: - Parentheses: ( and ) -
Braces: { and } - Brackets: [ and ] Note the grouping symbols cannot overlap. For example, (a{b)}
is illegal. Write a Java program to check whether a Java source code file has correct pair of
grouping symbols. In your program, ask the user enter the name of the Java file that is checked.

More Related Content

More from shreedattaagenciees2

Pope Leo XIII distinguishes the just ownership from the just.pdf
Pope Leo XIII distinguishes the just ownership from the just.pdfPope Leo XIII distinguishes the just ownership from the just.pdf
Pope Leo XIII distinguishes the just ownership from the just.pdfshreedattaagenciees2
 
pls create aws from the following Implement the infrastruct.pdf
pls create aws from the following Implement the infrastruct.pdfpls create aws from the following Implement the infrastruct.pdf
pls create aws from the following Implement the infrastruct.pdfshreedattaagenciees2
 
Please write on the following 5 points below on how they aff.pdf
Please write on the following 5 points below on how they aff.pdfPlease write on the following 5 points below on how they aff.pdf
Please write on the following 5 points below on how they aff.pdfshreedattaagenciees2
 
pls help me with Resource and Capability Analysis of CHIPOTL.pdf
pls help me with Resource and Capability Analysis of CHIPOTL.pdfpls help me with Resource and Capability Analysis of CHIPOTL.pdf
pls help me with Resource and Capability Analysis of CHIPOTL.pdfshreedattaagenciees2
 
Political pundits have been all over the news stating that t.pdf
Political pundits have been all over the news stating that t.pdfPolitical pundits have been all over the news stating that t.pdf
Political pundits have been all over the news stating that t.pdfshreedattaagenciees2
 
Poliomyelitis What virus causes polio How is the virus tran.pdf
Poliomyelitis What virus causes polio How is the virus tran.pdfPoliomyelitis What virus causes polio How is the virus tran.pdf
Poliomyelitis What virus causes polio How is the virus tran.pdfshreedattaagenciees2
 
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdf
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdfPoints BRECMBC9 19II002 Table 194 to calculate the bull.pdf
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdfshreedattaagenciees2
 
points based on a users location for all modes of public tr.pdf
points based on a users location for all modes of public tr.pdfpoints based on a users location for all modes of public tr.pdf
points based on a users location for all modes of public tr.pdfshreedattaagenciees2
 
Por qu las LLC a menudo tienen problemas para obtener fond.pdf
Por qu las LLC a menudo tienen problemas para obtener fond.pdfPor qu las LLC a menudo tienen problemas para obtener fond.pdf
Por qu las LLC a menudo tienen problemas para obtener fond.pdfshreedattaagenciees2
 
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdf
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdfPoelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdf
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdfshreedattaagenciees2
 
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdf
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdfPregunta 11 Responda todas las afirmaciones mencionadas a co.pdf
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdfshreedattaagenciees2
 
Plz answer or define these concepts I will give you an upvot.pdf
Plz answer or define these concepts I will give you an upvot.pdfPlz answer or define these concepts I will give you an upvot.pdf
Plz answer or define these concepts I will give you an upvot.pdfshreedattaagenciees2
 
PREGUNTA 10 La delegacin efectiva incorpora todos los paso.pdf
PREGUNTA 10  La delegacin efectiva incorpora todos los paso.pdfPREGUNTA 10  La delegacin efectiva incorpora todos los paso.pdf
PREGUNTA 10 La delegacin efectiva incorpora todos los paso.pdfshreedattaagenciees2
 
Pregunta 1 Diseo de experimentos Las serpientes son un gr.pdf
Pregunta 1 Diseo de experimentos  Las serpientes son un gr.pdfPregunta 1 Diseo de experimentos  Las serpientes son un gr.pdf
Pregunta 1 Diseo de experimentos Las serpientes son un gr.pdfshreedattaagenciees2
 
PREGUNTA 1 Relaciona el evento del ciclo celular con la fas.pdf
PREGUNTA 1  Relaciona el evento del ciclo celular con la fas.pdfPREGUNTA 1  Relaciona el evento del ciclo celular con la fas.pdf
PREGUNTA 1 Relaciona el evento del ciclo celular con la fas.pdfshreedattaagenciees2
 
predict the resulting cell behavior a A mutation in the ER.pdf
predict the resulting cell behavior a  A mutation in the ER.pdfpredict the resulting cell behavior a  A mutation in the ER.pdf
predict the resulting cell behavior a A mutation in the ER.pdfshreedattaagenciees2
 
please write java codes Adds markers to the map for the mo.pdf
please write java codes  Adds markers to the map for the mo.pdfplease write java codes  Adds markers to the map for the mo.pdf
please write java codes Adds markers to the map for the mo.pdfshreedattaagenciees2
 
Please write in C++ The following code provides you with an .pdf
Please write in C++ The following code provides you with an .pdfPlease write in C++ The following code provides you with an .pdf
Please write in C++ The following code provides you with an .pdfshreedattaagenciees2
 
Preferred stock is a hybrid security because it has some ch.pdf
Preferred stock is a hybrid security because it has some ch.pdfPreferred stock is a hybrid security because it has some ch.pdf
Preferred stock is a hybrid security because it has some ch.pdfshreedattaagenciees2
 
PreClass Activities 4 Abyssal Plains Circle all that ap.pdf
PreClass  Activities 4 Abyssal Plains Circle all that ap.pdfPreClass  Activities 4 Abyssal Plains Circle all that ap.pdf
PreClass Activities 4 Abyssal Plains Circle all that ap.pdfshreedattaagenciees2
 

More from shreedattaagenciees2 (20)

Pope Leo XIII distinguishes the just ownership from the just.pdf
Pope Leo XIII distinguishes the just ownership from the just.pdfPope Leo XIII distinguishes the just ownership from the just.pdf
Pope Leo XIII distinguishes the just ownership from the just.pdf
 
pls create aws from the following Implement the infrastruct.pdf
pls create aws from the following Implement the infrastruct.pdfpls create aws from the following Implement the infrastruct.pdf
pls create aws from the following Implement the infrastruct.pdf
 
Please write on the following 5 points below on how they aff.pdf
Please write on the following 5 points below on how they aff.pdfPlease write on the following 5 points below on how they aff.pdf
Please write on the following 5 points below on how they aff.pdf
 
pls help me with Resource and Capability Analysis of CHIPOTL.pdf
pls help me with Resource and Capability Analysis of CHIPOTL.pdfpls help me with Resource and Capability Analysis of CHIPOTL.pdf
pls help me with Resource and Capability Analysis of CHIPOTL.pdf
 
Political pundits have been all over the news stating that t.pdf
Political pundits have been all over the news stating that t.pdfPolitical pundits have been all over the news stating that t.pdf
Political pundits have been all over the news stating that t.pdf
 
Poliomyelitis What virus causes polio How is the virus tran.pdf
Poliomyelitis What virus causes polio How is the virus tran.pdfPoliomyelitis What virus causes polio How is the virus tran.pdf
Poliomyelitis What virus causes polio How is the virus tran.pdf
 
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdf
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdfPoints BRECMBC9 19II002 Table 194 to calculate the bull.pdf
Points BRECMBC9 19II002 Table 194 to calculate the bull.pdf
 
points based on a users location for all modes of public tr.pdf
points based on a users location for all modes of public tr.pdfpoints based on a users location for all modes of public tr.pdf
points based on a users location for all modes of public tr.pdf
 
Por qu las LLC a menudo tienen problemas para obtener fond.pdf
Por qu las LLC a menudo tienen problemas para obtener fond.pdfPor qu las LLC a menudo tienen problemas para obtener fond.pdf
Por qu las LLC a menudo tienen problemas para obtener fond.pdf
 
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdf
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdfPoelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdf
Poelien solving Gownhment Eond Tyar tare 2ipentiate Coipor.pdf
 
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdf
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdfPregunta 11 Responda todas las afirmaciones mencionadas a co.pdf
Pregunta 11 Responda todas las afirmaciones mencionadas a co.pdf
 
Plz answer or define these concepts I will give you an upvot.pdf
Plz answer or define these concepts I will give you an upvot.pdfPlz answer or define these concepts I will give you an upvot.pdf
Plz answer or define these concepts I will give you an upvot.pdf
 
PREGUNTA 10 La delegacin efectiva incorpora todos los paso.pdf
PREGUNTA 10  La delegacin efectiva incorpora todos los paso.pdfPREGUNTA 10  La delegacin efectiva incorpora todos los paso.pdf
PREGUNTA 10 La delegacin efectiva incorpora todos los paso.pdf
 
Pregunta 1 Diseo de experimentos Las serpientes son un gr.pdf
Pregunta 1 Diseo de experimentos  Las serpientes son un gr.pdfPregunta 1 Diseo de experimentos  Las serpientes son un gr.pdf
Pregunta 1 Diseo de experimentos Las serpientes son un gr.pdf
 
PREGUNTA 1 Relaciona el evento del ciclo celular con la fas.pdf
PREGUNTA 1  Relaciona el evento del ciclo celular con la fas.pdfPREGUNTA 1  Relaciona el evento del ciclo celular con la fas.pdf
PREGUNTA 1 Relaciona el evento del ciclo celular con la fas.pdf
 
predict the resulting cell behavior a A mutation in the ER.pdf
predict the resulting cell behavior a  A mutation in the ER.pdfpredict the resulting cell behavior a  A mutation in the ER.pdf
predict the resulting cell behavior a A mutation in the ER.pdf
 
please write java codes Adds markers to the map for the mo.pdf
please write java codes  Adds markers to the map for the mo.pdfplease write java codes  Adds markers to the map for the mo.pdf
please write java codes Adds markers to the map for the mo.pdf
 
Please write in C++ The following code provides you with an .pdf
Please write in C++ The following code provides you with an .pdfPlease write in C++ The following code provides you with an .pdf
Please write in C++ The following code provides you with an .pdf
 
Preferred stock is a hybrid security because it has some ch.pdf
Preferred stock is a hybrid security because it has some ch.pdfPreferred stock is a hybrid security because it has some ch.pdf
Preferred stock is a hybrid security because it has some ch.pdf
 
PreClass Activities 4 Abyssal Plains Circle all that ap.pdf
PreClass  Activities 4 Abyssal Plains Circle all that ap.pdfPreClass  Activities 4 Abyssal Plains Circle all that ap.pdf
PreClass Activities 4 Abyssal Plains Circle all that ap.pdf
 

Recently uploaded

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 

Recently uploaded (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 

Please write new code 1 A Java program contains various pa.pdf

  • 1. Please write new code: 1. A Java program contains various pairs of grouping symbols, such as: - Parentheses: ( and ) - Braces: { and } - Brackets: [ and ] Note the grouping symbols cannot overlap. For example, (a{b)} is illegal. Write a Java program to check whether a Java source code file has correct pair of grouping symbols. In your program, ask the user enter the name of the Java file that is checked.