Rar05320401-oops-through-java-set1

  • Uploaded by: SRINIVASA RAO GANTA
  • 0
  • 0
  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Rar05320401-oops-through-java-set1 as PDF for free.

More details

  • Words: 250
  • Pages: 1
RA

Code No: RAR05320401

III B.Tech II Semester Supplimentary Examinations, Aug/Sep 2008 OOPS THROUGH JAVA (Electronics & Communication Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) List at least ten major differences between C and Java (b) Compare in terms of their functions, the following pairs of statements: i. while and do.while ii. while and for (c) What is an empty statement? Explain its usefulness.

[5+6+5]

2. (a) What is the difference between equality of objects and equality of objects and equality of references that refer to them? (b) What is the difference between a public member and a private member of a class? (c) write an application that computes the value of ex by using the formula: ex = 1 + x/1! + x2 /2! + x3 /3! + .......... [4+4+8] 3. What are the types of inheritances in java? Explain each of them in detail.

[16]

4. Prove that all the methods in an interface are automatically public.

[16]

5. (a) Give the list of different checked exceptions in java and their meaning. (b) Explain in detail any three checked exceptions.

[7+9]

6. Explain in detail about the following event classes: (a) KeyEvent (b) ItemEvent.

[10+6]

7. What are containers? List various containers. Explain the usage of JPanel with example. [4+4+8] 8. What do you mean by URL? How to create an URL? Explain several methods provided by URL? Give appropriate examples. [4+4+8] ?????

1 of 1

More Documents from "SRINIVASA RAO GANTA"