University Name : Madras University
Name of the Degree : B.Sc
Title of the Paper : Programming in Java
Name of the Degree : B.Sc
Title of the Paper : Programming in Java
APRIL-2011 SAE4A /SAZ4A
PART-A
1. Define: Encapsulation
2. List the rules for identifiers in Java.
3. Write a note on: Increment and Decrement Operators.
4. Give the general form of switch statement.
5. Write the use of extends keywords.
6. What is an interface?
7. How do we start a thread?
8. What are Run-Time Errors?
9. How to draw lines in Java? Give an example.
10. Write a note on: Input Stream Class.
11. What is the significance of the accept() method of the ServerSocket class?
12. What is Border Layout?
PART-B
13. Discuss about Java constants with example.
14. Write short notes on: Data types in Java.
15. What are constructors? Discuss about the usage of constructors with examples.
16. Write a Java Program to print Alphabetical ordering of strings.
17. Write short notes on: Common Java Exceptions.
18. Discuss briefly about character stream classes.
19. What are the important methods in the URL class? Discuss briefly.
PART-C
20. Write a Java Program to find the sum of the following Harmonic series for a given value of n:
1+1/2+1/3+…….+1/n
21. What is meant by single inheritance? Explain this with an example Java Program.
22. Explain about creating packages and accessing a package with examples.
23. Explain about random access files in Java with example programs.
24. Explain the usage of any FOUR AWT controls with suitable examples.
No comments:
Post a Comment