0% found this document useful (0 votes)
735 views2 pages

AdvJava BIS402 - Module 2 3 - QuestionBank

Uploaded by

manikanta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
735 views2 pages

AdvJava BIS402 - Module 2 3 - QuestionBank

Uploaded by

manikanta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

DAYANANDA SAGAR ACADEMY OF TECHNOLOGY & MANAGEMENT

Opp. Art of Living, Udayapura, Kanakapura Road, Bangalore- 560082


(Affiliated to Visvesvaraya Technological University, Belagaavi and Approved by AICTE, New Delhi)
NAAC Accredited with A+ Grade
DEPARTMENT OF INFORMATION SCIENCE AND ENGINEERING

Advanced Java (BIS402)


Question Bank – Module 2 & 3

1. Explain MVC architecture used to implement a component in swings.


2. Explain insert and replace methods of StringBuffer class.
3. Explicate indexOf() and lastindexOf() methods in string using Examples.
4. Justify the usage of StringBuffer class over String class with an example.
5. Differentiate between equal and == with suitable examples.
6. Investigate the Special String Operations with suitable example program.
7. Differentiate between equals() and == with respect to string comparison.
8. Inspect String comparison function with suitable programs.
9. Summarize reverse and deleteCharAt methods of StringBuffer class.
10. Explore how to check the occurrence of a substring in the given string.
11. Describe the usage of regionMatches method defined by String class.
12. Discuss the various string comparison methods with example.
13. Infer string buffer class with suitable examples.
i. Insert
ii. append
14. Analyze the two key features of swings to address the limitations present in the AWT.
15. Brief out the Top-Level Container Panes.
16. Appraise the various methods used for modifying strings with a Java code snippet.
17. Evolve charAt() and setCharAt() method with suitable program.
18. Elucidate any two Modifying a String with suitable examples.
19. Discuss string concatenation and string conversion with syntax.
20. Justify how compareTo() method differs from compareToIgnoreCase() method.
21. Identify the two key swing features addressed to overcome the limitations of AWT along with the
differences. Also explain containers and components of MVC architecture.
22. Write a short note on “Event Handling”
23. Explain the following swing components with an example and constructor:
JLabel, JTextField, JButton
24. Develop Java programs for the following:
a. With a small an icon-based Button.
b. To create a button, on clicking which displays “Welcome to DSATM-ISE”
c. To remove duplicate characters from a given string and display the resultant string.
d. To check whether the given string is palindrome or not.
e. Swing applet that has two buttons named as “CSE” and “ISE”. When either of the button
pressed, it should display “CSE” is pressed and “ISE” is pressed respectively
f. To infer the JLabel and ImageIcon in swings
g. To show the difference between compareTo() method and compareToIgnoreCase() method
in string.
h. That demonstrates any four constructors of String class.
i. To handle an event
j. To insert a substring “like” at index 2 in the given string “I Java” using String and
StringBuffer class.

Dr. Veena R S
Associate Professor
Department of ISE
DSATM, Bangalore

You might also like