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

Assignment

The document outlines an assignment for Advanced Java and J2EE, consisting of ten questions covering topics such as enumeration values, wrapper classes, autoboxing, annotations, Java Beans, and built-in annotations. Each question requires explanations and examples to demonstrate understanding. The assignment is due on January 17, 2025.

Uploaded by

220902
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)
2 views

Assignment

The document outlines an assignment for Advanced Java and J2EE, consisting of ten questions covering topics such as enumeration values, wrapper classes, autoboxing, annotations, Java Beans, and built-in annotations. Each question requires explanations and examples to demonstrate understanding. The assignment is due on January 17, 2025.

Uploaded by

220902
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/ 1

Advanced Java and J2EE

Assignment 1
1. With an example explain how enumeration values are used to control a
switch statement.
2. Demonstrate the usage of the valueOf() and values() methods with an
example
3. What does ordinal(), compareTo() and equals() method do in Enum? Give
an example.
4. Describe the Wrapper classes available for primitive types.
5. What Is Autoboxing And Unboxing? Explain with an example.
6. What Are Annotations? What are the three retention policies defined by
the RetentionPolicy enumeration in Java?
7. Write a note on EventDescriptor and PropertyDescriptor class
8. What are the different properties of a Java Bean? Explain with examples
9. Explain any four Built-in annotations.
10.What are the steps to be followed in creating a new Bean?

****************************************************************

Last Date to Submit: 17-01-2025

You might also like