Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Applet information updations
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


micheal
information updations
1 Answer(s)      3 years and 7 months ago
Posted in : Applet


I have created the following interface that allows updations to customer information:

public interface validateInfo { public void validate(String empcode, String password); } class updateInfo implements validateInfo { public void update() { //code to update information of customer } public static void main(String a1[]) { updateInfo o= new updateInfo(); p.update(); System.out.println("Information updated"); } }

1.Will this code compile successfully.If not,identify and document the reasons.

2.I also want to check whether the user has entered the value for empcode and password variables.How can i check this out


Advertisement
View Answers

February 11, 2011 at 2:23 PM


Java Update Information

 interface validateInfo {
    public void validate(String empcode, String password);
    }
    class updateInfo implements validateInfo {
        String empcode;
        String password;
        public void validate(String code,String pass) {
            this.empcode=code;
            this.password=pass;

 } 
 public static void main(String a1[]) {
     updateInfo o= new updateInfo();
     o.validate("1111","roseindia"); 
     System.out.println("Information updated");
     } 
     }


Related Tutorials/Questions & Answers:
information updations
information updations  I have created the following interface that allows updations to customer information: public interface validateInfo { public... validateInfo { public void update() { //code to update information of customer
updations on data in mysql
updations on data in mysql  sir ,i want to retreive data from mysql as a table format and after retreiving the data i want to edit the data and update the data into mysql using jsp   hi friend, Try the following sample
Advertisements
to update the information
to update the information   sir, i am working on library mgt project. front end is core java and backend is ms access.i want to open,update the information through form.please send me code earliar
to update the information
update the information   sir, i am working on library mgt project. front end is core java and backend is ms access.i want to open,update the information through form.please send me code earliar.   Please visit
VoIP Information
VoIP Information VOIP Information When you are looking for the most comprehensive VOIP Information available, you will quickly find that you have... the vast amount of information on your own could be imposing. Your other option
html code for student information?
html code for student information?  html code for student information
showing the information of database in textbox
showing the information of database in textbox  how to make a information of a database make appear to the user in the textbox
Information - Java Beginners
Information on Java Technologies   Need information on Programming technologies and specifically on Java
student information system
student information system  can you show me example of "student information system" pseudo code and flow chart with "student name, student id, student residential hall, student course, student phone numbers
Information Technology Courses
Information Technology Courses  Hi, Which all good Information..., There are many technologies available in Java. these Information Technology Courses... are planning to make career in Information Technology then you should learn
Printing server information
trying to fetch the server Information Print. How could i will printing the server information in PHP? Please provide me any example related this topic. Thanks,   hi, Are you looking for the print server information on the screen
get information from database
get information from database  get information from database   Please visit the following links: http://www.roseindia.net/sql/mysql-table/mysql-php-select.shtml http://www.roseindia.net/sql/mysql-example/select
introduction to information systems development
introduction to information systems development  can someone sent plz codes for college management system developed using IDE eclipse
Hostel management information system
Hostel management information system  Can u send me mvc based project of hostel management systenm source code
Courses in Information Technology
Courses in Information Technology  What are the Courses in Information Technology for beginner? How to learn programming and become a good programmer... information. Thanks
information about scjp
information about scjp  fees details abou scjp? what are the best books for preparing to scjp. how many time scjp exam's are conducted for one year
give information or website address
give information or website address  hi i want u r help .... i m finding code for constructing graph in java but during execting them i have problem bec of packages... has i proceed i came to know
Agra Travel Information
Agra Travel Guide - Agra Travel Information Agra, the city of three World Heritage Sites - The Taj Mahal, the Red Fort and the Fatehpur Sikri ? is a must visit site of India. No tourism journey can be completed without visiting Agra
General information on different topics
General information on different topics In this section we will provide.... These information will definitely help you in your day to day activities. We are giving these information in the form of many easily to learn articles
Uploaded File Information in the Receiving Script?
Uploaded File Information in the Receiving Script?  How To Get the Uploaded File Information in the Receiving Script?   Hi friends, Once... the uploaded file information through the predefined array called $FILES
PHP Get Browser Information
PHP Get Browser Info PHP provides us  $_SERVER['HTTP_USER_AGENT'] function is used to display the browser information Code for PHP Get Browser Info: <?php echo $_SERVER['HTTP_USER_AGENT'] . "\n\n"; ?>
Information Website Template
Information Websites We provide high quality Information site development... in developing websites for information industry. We are designing, developing, testing, uploading and maintaining websites for information industry
Printing server information
Printing server information This example will teach you how to print the server information on the screen connected to your PC. For printing the server information, first you will have to create a HTML form and post the action form
Displaying Database information on the browser.
PHP DATABASE Information Part-5(b): Displaying Data (with the help of PHPMyAdmin) Up to now, we learned how to create database and insert information in the database. In this tutorial, I will show you how to insert the information
How To Get the Uploaded File Information in the Receiving Script?
How To Get the Uploaded File Information in the Receiving Script?  How To Get the Uploaded File Information in the Receiving Script
get information about foreign keys - JDBC
get information about foreign keys  How to get the information about foreign keys in Java
List Information about folder
List Information about folder       This Example shows you how to show folder information. In this code we have used method of Folder class to retrieve information about
Get information about foreign keys used in a table.
Get information about foreign keys used in a table.  How can I get information about foreign keys used in a table
I want detail information about switchaction? - Struts
I want detail information about switch action?  What is switch action in Java? I want detail information about SwitchAction
 

 

 

DMCA.com