DAO java, Software Engineering

Assignment Help:
inside a button click can we put following code...

Account a = new Account();
a.setAccNo(Integer.parseInt(txtAccNo.getText()));
a.setDepositamt(Float.parseFloat(txtAmt.getText()));

AccountService as = new AccountServiceImpl();
as.depositMoney(a.getAccNo(),a.getDepositamt());
JOptionPane.showMessageDialog(null,"Table Updated!");

all lines are coorect?

Related Discussions:- DAO java

Explain virtual memory, Explain virtual memory? Ans) Virtual memory tell...

Explain virtual memory? Ans) Virtual memory tells to virtual storage. In virtual storage, portions of a user's program and data are placed in auxiliary storage, and the operatin

Explain what is meant by the term encapsulation, Question: (a)  Explain...

Question: (a)  Explain the difference between a link and an association. Use a simple example to illustrate your answer. (b)  Briefly describe the importance of CRC cards in

State the term- code coverage, State the term- Code Coverage This is a...

State the term- Code Coverage This is an analysis method that determines which parts of software have already been covered by test case suite and which are remaining.

what is qualification testing, Formal testing, usually conducted by the de...

Formal testing, usually conducted by the developer for the consumer, to demonstrate that the software meet its described requirements.

List the task regions in the spiral model, List the task regions in the Spi...

List the task regions in the Spiral model. Customer communication - In this region it is suggested to make customer communication. Planning - All planning activities are car

Define a macro, "State how you would type arguments h, o, w, n, o, w to the...

"State how you would type arguments h, o, w, n, o, w to the macro cat, define(cat, $1$2$3$4$5$6$7$8$9) so that the printed result was how now Describe exactly what happens when

What does level0 dfd means, What does Level0 DFD means? Level0 DFD is c...

What does Level0 DFD means? Level0 DFD is called as 'fundamental system model' or 'context model'. In the context model the total software system is represented by a single bub

Explain smoke testing, Smoke testing It decreases the integration risk....

Smoke testing It decreases the integration risk. Error diagnosis and correction are simplified

What is gamma testing, Gamma testing is testing of software that does have ...

Gamma testing is testing of software that does have all the needed features, but did not go by all the in-house quality checks.

Write Your Message!

Captcha
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