Hi, need help, the site is not finding city and date information. Why
@Controller
@RequestMapping("/secondSubPage")
public class secondSubPageController {
private static List<Travel>...
Type: Posts; User: Dawidos21
Hi, need help, the site is not finding city and date information. Why
@Controller
@RequestMapping("/secondSubPage")
public class secondSubPageController {
private static List<Travel>...
Yes I know that getDesiredValue is as example
package myPackage.exam.colections;
import java.util.*;
public class Task2 {
static Car BMW = new Car(true, 2005, 2, 1, 22000.0D);
Now in the loop it gives an error and intelijj wants to change getDesiredvalue from double to boolean
I keep trying but I don't know how to add value from cars list to if.
Because I don't know if you understand what he's trying to do.
Scanner I created in order to create a variable, which then...
Then show me what you would change if you did
But I have it made
The purpose of the loop is to output the data information about the cars of the list.
Unless I'm misunderstanding it and doing it wrong as you would. Because I don't understand your answer
---...
The purpose of the scanner is to enter the MaxValue of the cars and then in the console pop up cars up to a given amount, if I enter the amount of 2000, only cars up to 2k will be displayed, the same...
Now I have a problem with displaying cars according to price and according to equipment level. I made scanners, I give variables, but in class printCardToValueAndLevelOfEquipment I don't know how in...
When I want the console to list my cars, this pops up, how do I fix it?
Console:
myPackage.exam.colections.Car@3ac3fd8b
myPackage.exam.colections.Car@5594a1b5...
Yes, it is but I don't know how to go about it
package myPackage.exam.colections;
import java.util.*;
public class Task2 {
static Car BMW = new Car(true, 2005, 2, 1, 22000.0D);
static Car AUDI = new Car(false, 2020, 1, 2,...
Could someone guide me how to make printsortedCars
line 32
Code: https://pastebin.com/QqbHtMGj
package Pyramid;
import java.util.Scanner;
public class PyramidTest {
public static void main(String[] args){
System.out.println("State how many levels the pyramid is to...
package Pyramid;
import java.util.Scanner;
public class PyramidTest {
public static void main(String[] args){
System.out.println("State how many levels the pyramid is to consist...
Hello, I need to create a pyramid of numbers. In advance I got "public static void printNumPyramid (int numPyramidLvl)" Because it is not main, it gets lost completely and if I do a loop, I can't...