What is mean by swing and awt and compare the statements


A. Answer the following questions

1) What is a Java applet?

2) How array is declared and initialized in Java. Give an example.

3) What are the access control attributes in Java ?

4) What happens if a thrown exception is not cought?

B. Answer the following questions

1) What is mean by Swing and AWT ? Explain their differences.

2) Compare the statements break and continue with example in terms of their functions

3) How does a String class differ from a StringBuffer class?

4) Write down the four basic steps to JDBC.

C. Answer the following questions :

1) Write a program in Java which will read a line of text and count the total numbers of vowels in the text.

2) Write a program in Java for addition of matrices.

D. Answer the following questions :

1) Design a class to represent a bank account. Include the following data members: Annount number, Depositor name, Account type, Balance amount in the account.

Methods: To assign initial value

To deposit an amount

To withdraw an amount after checking balance

To display depositor name and balance

2) Write a Java program to do the following operations:

i). Read information of n students. The class name should be kkhsou with the member variable name, rollno, center_code and percentage in last exam.

ii) Display the students data whose percentage is more than 70.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: What is mean by swing and awt and compare the statements
Reference No:- TGS01047478

Expected delivery within 24 Hours