1(a)
Differentiate between Method Overloading and Method Overriding?
5 M
1(b)
What is the role of wrapper class?
5 M
1(c )
Write short note on Abstract Class.
5 M
1(d)
Explain static members.
5 M
2(a)
Write a program to create multiple threads. Demonstrate the use of isAlive(), getName(), setName(), setPriority() and getPriority() methods of Thread Class.
10 M
2(b)
Write a program to evaluate sum of following series:
1+1/22+1/32+1/42+..+1/n2Take value of N from user input.
1+1/22+1/32+1/42+..+1/n2Take value of N from user input.
10 M
3(a)
Write a program to read 5 names of students from command line and store them in vector. Sort the list in alphabetically order and display.
10 M
3(b)
Write a program to count the frequency of occurrence of a given character of a given line of text. For example the given line is: We are students and eat Eggs.
10 M
4(a)
How do u define an Exception? Explain how java handles exception during program execution with suitable example.
10 M
4(b)
What are the benefits of packages? What are java API packages? Write a program to demonstrate the creation and use of package?
10 M
5(a)
Write a program to display area of square and rectangle using the concept of overloaded constructor.
10 M
5(b)
Write an applet to display the house as shown below:
10 M
6(a)
Explain the difficulty to implement multiple inheritance. How multiple inheritance is supported by java, explain with example?
10 M
6(b)
How do you define a data type? Explain data types available in java?
10 M
7(a)
Parameter passing to an applet
5 M
7(b)
Life cycle of thread.
5 M
7(c )
System.arraycopy() method
5 M
7(d)
Command line arguments
5 M
7(e )
Java Access protection
5 M
More question papers from Object Oriented Programming Methodology