Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 MARKSStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started