Question: Ques on 1 Create the class Languages having a main ( ) . Create an array of Languages: English, German, French, Spanish, Italian, Portuguese, Greek

Queson 1
Create the class Languages having a main().
Create an array of Languages: English, German, French, Spanish, Italian, Portuguese, Greek
Using appropriate stream and filter methods find and output:
a) All languages ordered alphabecally, in uppercase
b) The language that is the shortest
d) An array of substrings made of the 3rd and the 4th characters of every language (example gl)
e) An array of number of characters from each language, sorted ascending
Queson 2
Create a class ClickGenerator having a main().
In main() create a buton Click and a label to display the number of the clicks. Add a buton Reset
that sets the text of the label to 0 when clicked. The two butons and the label should be added to a
panel that should be added to a frame.
Add the AconListeners to make the butons funconal.
Use Swing and make sure you add the line of code to close the frame.
Coding standards: All the coding standards and best programming practices learn should be
followed. Javadocs for the classes (just above the class definition) and for each of the functions.

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!