Question: JAVA 4.a: Write a Java application that inputs a date as a string in the form 17:02:2009 The program should use an object of class

JAVA

JAVA 4.a: Write a Java application that inputs a date as a

4.a: Write a Java application that inputs a date as a string in the form 17:02:2009 The program should use an object of class StringTokenizer to extract the various componcnis of the dai: stxiny ans ons The propram should n covexi the day, month and year to int values and display them b: Suppose that you have written a program that displays two messages, as follows: public class q4b \ static public void main(String[] args) System.out.println("Hello."); System.out.println("How are you?"); You then decide that this program needs to display the same or similar messages for people living in France and Germany. Outline the steps needed to properly internationalise this program i.e. the hardcoded English language messages should be removed and replaced with a more flexible mechanism that will facilitate additional language support in the future. 7 MARKS c: Using suitable source code samples, outline the steps required to use a Database within a Java program using the JDBC API. How are transactions supported using this mechamisn? What type of Metadata may be retrieved from a Database using JDBC? 2 MARKS

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!