SlideShare a Scribd company logo
1 of 8
Download to read offline
FirstRanker.com || FirstRanker's Choice 1



      Code No: R05220402                      R05                      Set No. 2
                 II B.Tech II Semester Examinations,December 2010
                              OOPS THROUGH JAVA
                Common to IT, E.COMP.E, ETM, CSE, ECE, CSSE
      Time: 3 hours                                           Max Marks: 80
                            Answer any FIVE Questions
                          All Questions carry equal marks



         1. Write short notes on Observable class and Random class.                       [8+8]

         2. (a) What is a constructor? What are its special properties?
            (b) How do we invoke a constructor?
             (c) What are objects? How are they created from a class?                  [6+4+6]

         3. Differentiate following with suitable examples:

             (a) Frame, JFrame
            (b) Applet, JApplet
             (c) Menu, Jmenu.                                                          [5+5+6]

         4. (a) With the help of an example, explain multithreading by extending thread
                class.
            (b) Implementing Runnable interface and extending thread, which method you
                prefer for multithreading and why.                              [10+6]

         5. Create an interface with at least one method, and implement that interface by
            defining an inner class within a method, which returns a reference to your interface.
                                                                                            [16]

         6. (a) Write a short notes o the following graphics functions
                   i. paint( )
                  ii. repaint( )
                 iii. update( )
            (b) Define Canvas. Write a java program which creates a canvas and displays an
                image on it.                                                        [9+7]

         7. Explain the following methods of Object class.

             (a) clone()
            (b) finalize()
             (c) hashCode()
            (d) wait(long milliseconds)
             (e) getClass().                                                                [16]

         8. Write a program that will compute the following series:
FirstRanker.com || FirstRanker's Choice 1
                                                  1
FirstRanker.com || FirstRanker's Choice 2



      Code No: R05220402                     R05         Set No. 2
            (a) 1/1 + 1/2 + 1/3 + ...... + 1/n
                               2
            (b) 1/1 + 1/2 + 1/2 + ....... + 1/2n .              [8+8]




FirstRanker.com || FirstRanker's Choice 2
                                                     2
FirstRanker.com || FirstRanker's Choice 3



      Code No: R05220402                      R05                      Set No. 4
                 II B.Tech II Semester Examinations,December 2010
                              OOPS THROUGH JAVA
                Common to IT, E.COMP.E, ETM, CSE, ECE, CSSE
      Time: 3 hours                                           Max Marks: 80
                            Answer any FIVE Questions
                          All Questions carry equal marks



         1. (a) Write a short notes o the following graphics functions
                   i. paint( )
                  ii. repaint( )
                 iii. update( )
            (b) Define Canvas. Write a java program which creates a canvas and displays an
                image on it.                                                        [9+7]

         2. Write a program that will compute the following series:

            (a) 1/1 + 1/2 + 1/3 + ...... + 1/n
                               2
            (b) 1/1 + 1/2 + 1/2 + ....... + 1/2n .                                        [8+8]

         3. (a) What is a constructor? What are its special properties?
            (b) How do we invoke a constructor?
             (c) What are objects? How are they created from a class?                  [6+4+6]

         4. Create an interface with at least one method, and implement that interface by
            defining an inner class within a method, which returns a reference to your interface.
                                                                                            [16]

         5. Differentiate following with suitable examples:

             (a) Frame, JFrame
            (b) Applet, JApplet
             (c) Menu, Jmenu.                                                          [5+5+6]

         6. Write short notes on Observable class and Random class.                       [8+8]

         7. (a) With the help of an example, explain multithreading by extending thread
                class.
            (b) Implementing Runnable interface and extending thread, which method you
                prefer for multithreading and why.                              [10+6]

         8. Explain the following methods of Object class.

             (a) clone()
            (b) finalize()
FirstRanker.com || FirstRanker's Choice 3
                                                     3
FirstRanker.com || FirstRanker's Choice 4



      Code No: R05220402                    R05   Set No. 4
             (c) hashCode()
            (d) wait(long milliseconds)
             (e) getClass().                             [16]




FirstRanker.com || FirstRanker's Choice 4
                                             4
FirstRanker.com || FirstRanker's Choice 5



      Code No: R05220402                      R05                      Set No. 1
                 II B.Tech II Semester Examinations,December 2010
                              OOPS THROUGH JAVA
                Common to IT, E.COMP.E, ETM, CSE, ECE, CSSE
      Time: 3 hours                                           Max Marks: 80
                            Answer any FIVE Questions
                          All Questions carry equal marks



         1. (a) Write a short notes o the following graphics functions
                   i. paint( )
                  ii. repaint( )
                 iii. update( )
            (b) Define Canvas. Write a java program which creates a canvas and displays an
                image on it.                                                        [9+7]

         2. (a) With the help of an example, explain multithreading by extending thread
                class.
            (b) Implementing Runnable interface and extending thread, which method you
                prefer for multithreading and why.                              [10+6]

         3. (a) What is a constructor? What are its special properties?
            (b) How do we invoke a constructor?
             (c) What are objects? How are they created from a class?                  [6+4+6]

         4. Explain the following methods of Object class.

             (a) clone()
            (b) finalize()
             (c) hashCode()
            (d) wait(long milliseconds)
             (e) getClass().                                                                [16]

         5. Write short notes on Observable class and Random class.                       [8+8]

         6. Differentiate following with suitable examples:

             (a) Frame, JFrame
            (b) Applet, JApplet
             (c) Menu, Jmenu.                                                          [5+5+6]

         7. Create an interface with at least one method, and implement that interface by
            defining an inner class within a method, which returns a reference to your interface.
                                                                                            [16]

         8. Write a program that will compute the following series:
FirstRanker.com || FirstRanker's Choice 5
                                                  5
FirstRanker.com || FirstRanker's Choice 6



      Code No: R05220402                     R05         Set No. 1
            (a) 1/1 + 1/2 + 1/3 + ...... + 1/n
                               2
            (b) 1/1 + 1/2 + 1/2 + ....... + 1/2n .              [8+8]




FirstRanker.com || FirstRanker's Choice 6
                                                     6
FirstRanker.com || FirstRanker's Choice 7



      Code No: R05220402                      R05                      Set No. 3
                 II B.Tech II Semester Examinations,December 2010
                              OOPS THROUGH JAVA
                Common to IT, E.COMP.E, ETM, CSE, ECE, CSSE
      Time: 3 hours                                           Max Marks: 80
                            Answer any FIVE Questions
                          All Questions carry equal marks



         1. (a) What is a constructor? What are its special properties?
            (b) How do we invoke a constructor?
             (c) What are objects? How are they created from a class?                  [6+4+6]

         2. Create an interface with at least one method, and implement that interface by
            defining an inner class within a method, which returns a reference to your interface.
                                                                                            [16]

         3. (a) Write a short notes o the following graphics functions
                   i. paint( )
                  ii. repaint( )
                 iii. update( )
            (b) Define Canvas. Write a java program which creates a canvas and displays an
                image on it.                                                        [9+7]

         4. Write short notes on Observable class and Random class.                       [8+8]

         5. Explain the following methods of Object class.

             (a) clone()
            (b) finalize()
             (c) hashCode()
            (d) wait(long milliseconds)
             (e) getClass().                                                                [16]

         6. Write a program that will compute the following series:

            (a) 1/1 + 1/2 + 1/3 + ...... + 1/n
                               2
            (b) 1/1 + 1/2 + 1/2 + ....... + 1/2n .                                        [8+8]

         7. Differentiate following with suitable examples:

             (a) Frame, JFrame
            (b) Applet, JApplet
             (c) Menu, Jmenu.                                                          [5+5+6]


FirstRanker.com || FirstRanker's Choice 7
                                                     7
FirstRanker.com || FirstRanker's Choice 8



      Code No: R05220402                    R05                  Set No. 3
         8. (a) With the help of an example, explain multithreading by extending thread
                class.
            (b) Implementing Runnable interface and extending thread, which method you
                prefer for multithreading and why.                              [10+6]




FirstRanker.com || FirstRanker's Choice 8
                                              8

More Related Content

Recently uploaded

Recently uploaded (20)

FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

R05220402 oopsthroughjav afr

  • 1. FirstRanker.com || FirstRanker's Choice 1 Code No: R05220402 R05 Set No. 2 II B.Tech II Semester Examinations,December 2010 OOPS THROUGH JAVA Common to IT, E.COMP.E, ETM, CSE, ECE, CSSE Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. Write short notes on Observable class and Random class. [8+8] 2. (a) What is a constructor? What are its special properties? (b) How do we invoke a constructor? (c) What are objects? How are they created from a class? [6+4+6] 3. Differentiate following with suitable examples: (a) Frame, JFrame (b) Applet, JApplet (c) Menu, Jmenu. [5+5+6] 4. (a) With the help of an example, explain multithreading by extending thread class. (b) Implementing Runnable interface and extending thread, which method you prefer for multithreading and why. [10+6] 5. Create an interface with at least one method, and implement that interface by defining an inner class within a method, which returns a reference to your interface. [16] 6. (a) Write a short notes o the following graphics functions i. paint( ) ii. repaint( ) iii. update( ) (b) Define Canvas. Write a java program which creates a canvas and displays an image on it. [9+7] 7. Explain the following methods of Object class. (a) clone() (b) finalize() (c) hashCode() (d) wait(long milliseconds) (e) getClass(). [16] 8. Write a program that will compute the following series: FirstRanker.com || FirstRanker's Choice 1 1
  • 2. FirstRanker.com || FirstRanker's Choice 2 Code No: R05220402 R05 Set No. 2 (a) 1/1 + 1/2 + 1/3 + ...... + 1/n 2 (b) 1/1 + 1/2 + 1/2 + ....... + 1/2n . [8+8] FirstRanker.com || FirstRanker's Choice 2 2
  • 3. FirstRanker.com || FirstRanker's Choice 3 Code No: R05220402 R05 Set No. 4 II B.Tech II Semester Examinations,December 2010 OOPS THROUGH JAVA Common to IT, E.COMP.E, ETM, CSE, ECE, CSSE Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Write a short notes o the following graphics functions i. paint( ) ii. repaint( ) iii. update( ) (b) Define Canvas. Write a java program which creates a canvas and displays an image on it. [9+7] 2. Write a program that will compute the following series: (a) 1/1 + 1/2 + 1/3 + ...... + 1/n 2 (b) 1/1 + 1/2 + 1/2 + ....... + 1/2n . [8+8] 3. (a) What is a constructor? What are its special properties? (b) How do we invoke a constructor? (c) What are objects? How are they created from a class? [6+4+6] 4. Create an interface with at least one method, and implement that interface by defining an inner class within a method, which returns a reference to your interface. [16] 5. Differentiate following with suitable examples: (a) Frame, JFrame (b) Applet, JApplet (c) Menu, Jmenu. [5+5+6] 6. Write short notes on Observable class and Random class. [8+8] 7. (a) With the help of an example, explain multithreading by extending thread class. (b) Implementing Runnable interface and extending thread, which method you prefer for multithreading and why. [10+6] 8. Explain the following methods of Object class. (a) clone() (b) finalize() FirstRanker.com || FirstRanker's Choice 3 3
  • 4. FirstRanker.com || FirstRanker's Choice 4 Code No: R05220402 R05 Set No. 4 (c) hashCode() (d) wait(long milliseconds) (e) getClass(). [16] FirstRanker.com || FirstRanker's Choice 4 4
  • 5. FirstRanker.com || FirstRanker's Choice 5 Code No: R05220402 R05 Set No. 1 II B.Tech II Semester Examinations,December 2010 OOPS THROUGH JAVA Common to IT, E.COMP.E, ETM, CSE, ECE, CSSE Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Write a short notes o the following graphics functions i. paint( ) ii. repaint( ) iii. update( ) (b) Define Canvas. Write a java program which creates a canvas and displays an image on it. [9+7] 2. (a) With the help of an example, explain multithreading by extending thread class. (b) Implementing Runnable interface and extending thread, which method you prefer for multithreading and why. [10+6] 3. (a) What is a constructor? What are its special properties? (b) How do we invoke a constructor? (c) What are objects? How are they created from a class? [6+4+6] 4. Explain the following methods of Object class. (a) clone() (b) finalize() (c) hashCode() (d) wait(long milliseconds) (e) getClass(). [16] 5. Write short notes on Observable class and Random class. [8+8] 6. Differentiate following with suitable examples: (a) Frame, JFrame (b) Applet, JApplet (c) Menu, Jmenu. [5+5+6] 7. Create an interface with at least one method, and implement that interface by defining an inner class within a method, which returns a reference to your interface. [16] 8. Write a program that will compute the following series: FirstRanker.com || FirstRanker's Choice 5 5
  • 6. FirstRanker.com || FirstRanker's Choice 6 Code No: R05220402 R05 Set No. 1 (a) 1/1 + 1/2 + 1/3 + ...... + 1/n 2 (b) 1/1 + 1/2 + 1/2 + ....... + 1/2n . [8+8] FirstRanker.com || FirstRanker's Choice 6 6
  • 7. FirstRanker.com || FirstRanker's Choice 7 Code No: R05220402 R05 Set No. 3 II B.Tech II Semester Examinations,December 2010 OOPS THROUGH JAVA Common to IT, E.COMP.E, ETM, CSE, ECE, CSSE Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) What is a constructor? What are its special properties? (b) How do we invoke a constructor? (c) What are objects? How are they created from a class? [6+4+6] 2. Create an interface with at least one method, and implement that interface by defining an inner class within a method, which returns a reference to your interface. [16] 3. (a) Write a short notes o the following graphics functions i. paint( ) ii. repaint( ) iii. update( ) (b) Define Canvas. Write a java program which creates a canvas and displays an image on it. [9+7] 4. Write short notes on Observable class and Random class. [8+8] 5. Explain the following methods of Object class. (a) clone() (b) finalize() (c) hashCode() (d) wait(long milliseconds) (e) getClass(). [16] 6. Write a program that will compute the following series: (a) 1/1 + 1/2 + 1/3 + ...... + 1/n 2 (b) 1/1 + 1/2 + 1/2 + ....... + 1/2n . [8+8] 7. Differentiate following with suitable examples: (a) Frame, JFrame (b) Applet, JApplet (c) Menu, Jmenu. [5+5+6] FirstRanker.com || FirstRanker's Choice 7 7
  • 8. FirstRanker.com || FirstRanker's Choice 8 Code No: R05220402 R05 Set No. 3 8. (a) With the help of an example, explain multithreading by extending thread class. (b) Implementing Runnable interface and extending thread, which method you prefer for multithreading and why. [10+6] FirstRanker.com || FirstRanker's Choice 8 8