How To Exam?

a knowledge trading engine...


SRM University 2007 B.Tech Computer Science and Engineering BANK : JAVA PROGRAMMING - Question Paper

Wednesday, 30 January 2013 10:40Web
9.What is method overloading?
10.What is static variable?
11.Explain static methods?
12.What ios nesting of methods w.r.t java?
13.What are the kinds of inheritance possible in java?
14.Explain the usage of inheritance?
15.What is function overloading?
16.When a variable is called a “final” variable and what is its use?
17.What are final methods and final classes?
18.What is finalization?
19.Define abstract class?
20.What are the various access specifies?
21.What are array?
22.Define 1-dimentional and 2-dimentional array?
23.How to create an integer array which can hold 10 values?
24.How to create an array that hold 20 names of persons?
25.How to create variable size arrays?
26.Differentiate string and string buffer class?
27.Give eg for four methods of string class?
28.What are wrapper classes?
29.Give a few four methods of string buffer class?
30.Give an eg to convert object nos to primitive nos?
31.Give an eg to convert primitive nos to object nos using constructor methods?
32.What is the methods to convert number to strings?Give eg.
33.How to convert string to numeric objects?
34.How to convert string to primitive numbers?
35.How does java handle strings?
35.How are wrapper classes useful?
36.Find errors if any rectify it.
int m;
int []y=int [11];
int x[]=int [10];
x=y=new int[20];
38.Explain garbage collection?
39.How does subclass call its base class constructors? provide eg.
40.Why multiple inheritance of classes is not there in java?
41.What are the three parts of a simple , empty class?

10MARKS

1.Explain
a. describe a class (3).
b. adding variable and methods.(4)
c. creating objects.(3)
2.Explain
a. usage of constructors
b. how constructors are being called in inheritance
c. kinds of constructors.
3.Explain inheritance concept?
4.Explain
a. creating an array.
b. initializing an array.
c. variable size array.
with suitable eg.
5.Explain a few 10 methods of string classes?
6.Explain a few 10 methods of string buffer class?
7.Explain wrapper classes?
8.Explain var, static block and static methods with suitable eg.
9.Explain in detail about visibility control in java?
10.Compare and contrast overloading and overriding methods in java?
11.Design a class to rep a bank account. Include the subsequent members
Data members:
*Name of depositor.
*account number.



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER SRM University 2007 B.Tech Computer Science and Engineering BANK : JAVA PROGRAMMING - Question Paper