What is mean by swing and awt

Assignment Help JAVA Programming
Reference no: EM13775453

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.

Reference no: EM13775453

Questions Cloud

Standard deviation-hypotheses and standard error : Define the term standard deviation. Why is it important to know the standard deviation for agiven sample? What do researchers learn about a normal distribution from knowledge of thestandard deviation? A sample of n=20 has a mean of M = 40. If the ..
Changes in society perception of psychopathology : Provide a brief overview of how culture is a factor determining the expression of psychopathology. Examine causes of psychopathology by using either the biopsychosocial or the diathesis-stress models.
Benefit and risk factor of project management : How would you ensure that project-management team members understand the personality and work skills required for their positions?
Paper reflecting on what art means : Write a 350- to 700-word paper reflecting on what art means to you and how culture and art are related. Include at least two examples that illustrate the relationship between art and American culture.
What is mean by swing and awt : What is mean by Swing and AWT and compare the statements break and continue with example in terms of their functions
Describe the culture of the organization : Describe the culture of the organization. Discuss the types of communication this organization uses for internal and external communication.
Experimental psychology and forensic psychology : The types of work professionals in specialty areas within the larger field of psychology do. The type and level of education one must achieve to work in those specialty areas.
Analyze barriers that may exist in group communication : Analyze barriers that may exist in group communication. Describe techniques to overcome those barriers and enhance group communication.
Write an essay based on an instructor-approved article : Write an essay based on an instructor-approved article. The purpose of this essay is to provide a comprehensive summary and critical response to the article.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a program which adds two matrices

Write a program which adds two matrices together and displays the sum - Two arrays will contain user input, and the third array will be used to contain the sum of the two arrays.

  Graphicsframe class

This program makes use of the GraphicsFrame class and the Drawable interface. Your missions is to create the class Airplane. Each Airplane object should store the following information (fields): manufacturer modelNumber maximumSpeed // in knots maxim..

  Java program editing

Prompt the user for the student's score and put that value into an object

  Write a java gui application index2 java

Write a Java GUI application Index2.java based on the program in Step 1 that inputs several lines of text and uses String method indexOf to determine the total number of occurrences of each letter of the alphabet in the text

  User interface menu using doubly linked lists

Each mNode defines the main menu item name, two links to its mNode neighbors (the previous and next mNode) and a link to its first submenu node.

  Developing a java application

You have been requested to develop a Java application for the local library as part of an upgrade initiative. As in all libraries, this is a place where one can check out books

  The class overloaded constructor receives a 2-dim int array

The class overloaded constructor receives a 2-dim int array as a parameter and assigns its values to a private 2-dim int array. Have another method that prints the whole 2-dim table.

  Allows the user to enter students names followed

Write a program that allows the user to enter students names followed by their test scores and outputs the following information(assume that the maximum nmber of students in the class is 50

  Write java method which fills the array with random numbers

Write a Java method which takes an integer array parameter and fills the array with random numbers between 1 and 1000, including 1 and 1000.

  Application named arithmeticmethods

Create an application named ArithmeticMethods whose main() method holds two integer variables. Assign values to the variables. In turn, pass each value to methods named displayNumberPlus10()

  Write a java program that will read a sequence of names

Write a java program that will read a sequence of names (first name followed by last name, separated by at least one space) from a text file and will 1) remove all duplicate names and 2) write the names (last name followed by a comma, followed by one..

  Enhance the test score applicaion

Enhance the Test Score applicaion so it uses a "while" or a "do-while" loop plus a for loop - Change the while statement to a do-while statement, andtest this change. Does this work any better than the while loop?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd