Write the class header, Node class, and variables for a gene…

Write the class header, Node class, and variables for a generic Linked List class, (named LinkedList). The class will receive one type parameter, E. It should have a private inner class, a generic Node class. It will have the instance variables data (of type E, the type parameter) and next (which will point to an instance of the inner class). It will have a 2-arg constructor receiving them in that order and setting them. The variables and constructor will have private visibility. Getters and setters are not required nor allowed. It should have the instance variables head and size with private visibility. Getters and setters are not required nor allowed. Canvas Tip: Click on the dropdown that says “Paragraph” and switch to “Preformatted” to get a monospaced font – this can help in coding answers

Look at the following code (it is the same as the previous q…

Look at the following code (it is the same as the previous question): // public class FinalExamApp extends Application {    private ArrayList winterPlans = new ArrayList();    public void start(Stage stage) {        stage.setTitle(“Final Exam App”);        Label label = new Label(“Winter Idea: “);        TextField textfield = new TextField();        Button button1 = new Button(“Add Idea”);        Button button2 = new Button(“Sort Plan”);        // Code for buttons will be here        VBox root = new VBox();        root.getChildren().add(label);        root.getChildren().add(textfield);        root.getChildren().add(button1);        root.getChildren().add(button2);        Scene scene = new Scene(root);        stage.setScene(scene);        stage.show();    }} Using a lambda expression, implement the functionality of button2 such that it sorts winterPlans when pressed. Please use Collections.sort to sort your list.

Use the following scenario to answer the question below:  Jo…

Use the following scenario to answer the question below:  Joe’s biology class was studying the effects of different wavelengths of light on the process of photosynthesis in bean plants.  Four flats of bean plants (25 plants per flat) were grown for five days. The plants were then exposed to different colors of light as follows: Flat A was placed under red light; Flat B was placed under blue light; Flat C was placed under green light; and Flat D was placed under white light. The plants were exposed to the same temperature conditions and received the same amount of water and carbon dioxide each day. At the end of 20 days, the students recorded the height of the plants in centimeters. What was the independent variable in the experiment?