0% found this document useful (0 votes)
5 views

Advanced Java July 2019 (2015 Scheme)

Advance java

Uploaded by

Raghu Nayak
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
5 views

Advanced Java July 2019 (2015 Scheme)

Advance java

Uploaded by

Raghu Nayak
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
Time: a b, c alee b 3 fa. b, 4a b. Bea b, 6 a b Ta b © For More Question Papers Visit - www.pediawikiblog.com 15CS553 h Semester B.E. Degree Examination, June/July 2019 Advanced Java and J2EE 3 hrs. Max. Marks: 80 Note: Answer any FIVE full questions, choosing ONE full question from each module. Module-1 What are enumerations? How to use an enum constructor, instance variable and method? Explain with example. (06 Marks) What is Autoboxing? Write a Java program that demonstrates autoboxing/unboxing occurs inside expressions. (06 Marks) Demonstrate marker annotations with an example. (04 Marks) OR Explain the various type wrappers used in Java (05 Marks) What is Annotation? Explain various retention policies for annotations in Java. (08 Marks) Explain how to obtain annotations at run-time by use of reflection? (06 Marks) Modute-2 Explain the following collection interfaces: i) Queue ii) SortedSet (08 Marks) Demonstrate ArrayList class for collections with an example (08 Marks) OR Explain the following Map classes : 1) HashMap ii) TreeMap, (08 Marks) Define legacy class-vector, Write & Java program to demonstrate various vector operations. (08 Marks) Modu! Explain the following string comparison methods with examples i) equals( ) ii) regionMatches( ) iii) startsWith iv) endsWith{ ). (08 Marks) Explain the various string constructors used in Java with examples (08 Marks) OR Explain the following methods of StringBuller class with examples i) capacity( ) ii) reverse( ) iii) deleteCharAt( ) iv) charAt( ). (08 Marks) How compareTo( ) method differs from compareTolgnoreCase( ) method? Write a Java program to sort an array of string in descending order by ignoring the case. (08 Marks) Module-4 Explain the life eyele of servlets. (04 Marks) How to handle HTTP GET requests and HTTP Post requests? Explain with examples. (08 Marks) Write a servlet program that demonstrates how to use session state. (04 Marks) For More Question Papers Visit - www.pediawikiblog.com 10 For More Question Papers Visit - www.pediawikiblog.com oR What is JSP? Explain the various types of JSP tags with examples. What is a cookie? Write a ISP program to create and read a cookie. Modul List and explain the different types of JDBC drives types. Write a Java program to execute a database transaction, List and explain the three kinds of exceptions occurred in JDBC. OR Explain the various steps of JDBC with code snippets Explain the following statement objects with examples 1) PreparedStatement object ii) CallableStatement object. For More Question Papers Visit - www.pediawikiblog.com (10 Marks) (06 Marks) (06 Marks) (06 Marks) (04 Marks) (08 Marks) (08 Marks)

You might also like