MCA Sem I
Sub: Advanced Java
Module 1
Why do we need Generics? Explain with an example of how Generics make a program more flexible?
Explain the Wildcards with its syntax and types and program example on List and Set.
Explain Map interface , it’s all operations and using HashMap print the elements in name-pair in forward
and reverse direction.
What is Collections? Explain Set, Map, HashMap, List and Vector each classes with suitable code
compulsorily.
Difference between ArrayList and Vector and give an example on both of them?
What is Lambda Expression? Write code on it using Lambda expression as an Object.
How does a List differ from a Set in terms of behavior and use cases? Provide examples.
Module 2
What are directives? Explain different types of directives in JSP.
Explain JSP architecture with suitable diagram.
Explain 9 JSP Implicit Objects.
Explain Scripting tags in JSP with suitable syntax and example.
What is Java Bean Class? Write Java Bean class on counter increments and instantiate and display its
value using JSP Standard actions.
Explain the different types of session tracking in JSP. How does each method work and when would you
use [Link] variable value counter program using cookies.
Explain all standard actions in JSP and write JSP code using this standard action for Login Page.