RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
java汽车租车代码,简单的租车代码

基于JAVA 的汽车租赁系统~~源代码~谢谢~高分~~!

汽车租赁系统是汽车租赁公司的办公系统,包括从车辆的购置预算,审核购置,车辆预定,合同签订,车辆交接,收款结算,车辆维修,保险,违章车辆处置等业务。汽车租赁系统是基于Internet互联网、ERP、GPS及数据库技术开发的软件,实现汽车租赁行业全业务流程的信息化,迪蒙汽车租赁解决方案是由迪蒙自主设计研发的一套多网融合汽车租赁管理整体解决方案。

专注于为中小企业提供成都网站制作、做网站、外贸营销网站建设服务,电脑端+手机端+微信端的三站合一,更高效的管理,为中小企业海勃湾免费做网站提供优质的服务。我们立足成都,凝聚了一批互联网行业人才,有力地推动了成百上千企业的稳健成长,帮助中小企业通过网站建设实现规模扩充和转变。

迪蒙汽车租赁系统软件后台由车辆信息管理、租赁业务管理、车辆服务管理、财务管理、客户管理、统计管理、线下门店管理和系统管理八大模块组成。

1)、车辆信息管理

系统业务模块,包括车辆管理、租金设置、车辆调度和车辆优惠管理四大模块。

2)、租赁业务管理

系统业务模块,包括汽车租赁业务设置、订单管理、车辆预定管理、订单变更管理、车辆续租管理、出/还车管理、押金管理、合同管理等各种业务管理功能。

汽车租赁系统后台功能有哪些?

3)、车辆服务管理

车辆服务业务模块,包括保险管理、事故管理、违章管理、维修管理、保养管理、加油卡管理,这些主要

是租赁汽车的服务工作。

4)、财务管理

对汽车租赁业务的辅助管理模块,也是不可缺少的模块,包括账单管理、发票管理、调账管理和资金明细

等功能。

5)、客户管理

主要是针对客户信息的管理,包括个人客户管理、企业客户管理、黑名单管理、积分设置等功能。

6)、统计管理

统计管理是统计站内的数据,包括用户统计、订单统计、成本统计、资金统计和车辆统计等。

7)、线下门店管理

汽车租赁公司的另一辅助模快,包括系统用户管理、门店设置和员工管理。

8)、系统管理

系统管理维护模块,包括站点管理、APP管理、基础设置、提醒管理。

迪蒙汽车租赁解决方案融合了共享经济理念,通过先进的移动互联网技术,对传统汽车租赁系统进行了互联网化改造,不仅覆盖了传统租赁业务模式,还拓展了多元化的线上汽车租赁业务。通过系统,客户不仅可以高效开展和管理线下业务,还可通过 PC 网站、APP 等渠道开展全新的线上租赁业务。最大化优化配置时间与空间,提高汽车使用效率、提升用户体验、降低企业管理运营成本,助力企业“互联网 +”升级转型。

用java编写的一个用户登录界面,登录验证要连接oracle数据库,(是一个租车管理系统

这是我以前写的系统登录框的login

package java1;

import java.awt.*;

import java.awt.event.*;

import java.sql.*;

import java.util.*;

import javax.swing.*;

import javax.swing.event.*;

import java.awt.Rectangle;

import java.awt.Font;

public class login extends JFrame

{

public login() {

try {

jbInit();

}

catch (Exception ex) {

ex.printStackTrace();

}

}

public static void main(String[] args)

{

login frm=new login();

frm.setBounds(300,200,300,260);

frm.setVisible(true);

}

private void jbInit() throws Exception {

this.getContentPane().setLayout(null);

jLabel1.setForeground(Color.red);

jLabel1.setText("用户名");

jLabel1.setBounds(new Rectangle(25, 72, 68, 29));

jButton2.setBounds(new Rectangle(142, 159, 81, 30));

jButton2.setText("取消");

jButton2.addActionListener(new ActionListener() {

public void actionPerformed(ActionEvent e) {

jButton2_actionPerformed(e);

}

});

jButton1.setBounds(new Rectangle(38, 159, 81, 29));

jButton1.setText("确定");

jButton1.addActionListener(new ActionListener() {

public void actionPerformed(ActionEvent e) {

jButton1_actionPerformed(e);

}

});

jTextField1.setBounds(new Rectangle(109, 79, 136, 23));

jPasswordField1.setBounds(new Rectangle(109, 115, 136, 23));

this.getContentPane().add(jLabel1);

jLabel3.setFont(new java.awt.Font("隶书", Font.PLAIN, 24));

jLabel3.setText("学 生 考 试 系 统");

jLabel3.setBounds(new Rectangle(22, 15, 268, 47));

this.getContentPane().add(jTextField1);

this.getContentPane().add(jLabel2);

this.getContentPane().add(jButton2);

this.getContentPane().add(jButton1);

this.getContentPane().add(jLabel3);

this.getContentPane().add(jPasswordField1);

jLabel2.setForeground(Color.red);

jLabel2.setText("密码");

jLabel2.setBounds(new Rectangle(26, 112, 68, 29));

}

JLabel jLabel1 = new JLabel();

JLabel jLabel2 = new JLabel();

JTextField jTextField1 = new JTextField();

JButton jButton1 = new JButton();

JButton jButton2 = new JButton();

JLabel jLabel3 = new JLabel();

JPasswordField jPasswordField1 = new JPasswordField();

main2 wo=new main2();

int sum;

//判断权限的方法

public void success()

{

try{

ResultSet rs1;

String s1="select * from 管理权限 where name='"+jTextField1.getText()+"' and password='"+jPasswordField1.getText()+"'";

rs1=sqlcx.Rs_jiluji(s1);

rs1.first();

sum=Integer.parseInt((String)(rs1.getString(3)));

System.out.println(sum);

very();

}

catch(Exception c){System.out.println("success error");}

}

//根据权限设置窗口

public void very()

{

if (sum==1)

{JOptionPane.showOptionDialog(this, "您现在是以教师权限登陆", "登陆信息"

, JOptionPane.DEFAULT_OPTION,

JOptionPane.ERROR_MESSAGE,

null, null, null);

}

else

{

JOptionPane.showOptionDialog(this, "你现在是以学生权限登陆", "登陆信息"

, JOptionPane.DEFAULT_OPTION,

JOptionPane.ERROR_MESSAGE,

null, null, null);

wo.jButton2.setVisible(false);

wo.jButton3.setVisible(false);

wo.jButton4.setVisible(false);

wo.jButton5.setVisible(false);

wo.jButton6.setVisible(false);

wo.jButton7.setVisible(false);

wo.jButton8.setVisible(false);

wo.jMenu2.setVisible(false);

wo.jMenu3.setVisible(false);

wo.jMenu4.setVisible(false);

}

}

public void jButton1_actionPerformed(ActionEvent e)

{

//判断用户名是否为空

if (jTextField1.getText().length() == 0) {

JOptionPane.showOptionDialog(this, "用户名不能为空", "错误信息"

, JOptionPane.DEFAULT_OPTION,

JOptionPane.ERROR_MESSAGE,

null, null, null);

}

//判断密码是否为空

else if (jPasswordField1.getText().length()==0)

{

JOptionPane.showOptionDialog(this,"密码不能为空", "错误信息"

, JOptionPane.DEFAULT_OPTION,

JOptionPane.ERROR_MESSAGE,

null, null, null);

}

else

{

try

{

ResultSet rs;//声明记录集

String sql="select * from 管理权限 where name='"+jTextField1.getText()+"'";

rs = sqlcx.Rs_jiluji(sql);

if (rs.next())

{

if(jPasswordField1.getText().equals(rs.getString(2)))

{

success();

wo.setBounds(60,40,700,600);

wo.setVisible(true);

this.dispose();

}

else

{

JOptionPane.showOptionDialog(this,"密码错误", "错误信息"

, JOptionPane.DEFAULT_OPTION,

JOptionPane.ERROR_MESSAGE,

null, null, null);

}

}

else

{

JOptionPane.showOptionDialog(this,"没有所要找的用户名", "错误信息"

, JOptionPane.DEFAULT_OPTION,

JOptionPane.ERROR_MESSAGE,

null, null, null);

}

}

catch(Exception c){

JOptionPane.showOptionDialog(this,"连接数据库失败", "错误信息"

, JOptionPane.DEFAULT_OPTION,

JOptionPane.ERROR_MESSAGE,

null, null, null);

}

}

}

public void jButton2_actionPerformed(ActionEvent e) {

System.exit(0);

}

}

请问如何用Java编写一个汽车类Car

public class Car {

private String color;//颜色

private int door;//车门数量

private float speed;//车速

public Car(){

this.color = "红色";

this.door = 3;

this.speed = 110;

}

public Car(String color, int door, float speed) {

this.color = color;

this.door = door;

this.speed = speed;

}

public void start(){

//汽车启动。输出汽车已启动,并输出汽车的各个属性

System.out.println("汽车已启动,汽车颜色为"+color+",车门数为"+door+",车速为"+speed);

}

public void speedUp(float speed){

//加速

System.out.println("汽车加速到"+speed+"km/h");

}

public void shutDown(float speed){

//减速

System.out.println("汽车减速到"+speed+"km/h");

}

public void brake(){

//刹车

System.out.println("已刹车");

}

}

public class Test {

public static void main(String[] args){

Car car = new Car();

car.start();

car.speedUp(100);

car.shutDown(60);

car.brake();

Car car1 = new Car("白色",4,20.2F);

car1.start();

car1.speedUp(100);

car1.shutDown(60);

car1.brake();

}

}

运行结果

Java建立一个汽车(Car)类,包括品牌(String car_brand)、速度(double car_speed)两个成员变量具体看图

这个代码还是比较简单,下面的代码可以参考

class Car{

private String car_brand;

private double car_speed;

public Car(){ }

public Car(String brand, double speed){

this.car_brand = brand;

this.car_speed = speed;

System.out.println(this.car_brand + "汽车正以时速" 

+ this.car_speed + "公里的速度行驶");

}

public void speedUp(String brand){        

System.out.println(brand + "汽车正在加速行驶");

}

public void speedUp(String brand, double speed){

System.out.println(brand + "汽车正以时速" 

+ speed + "公里的速度加速行驶");

}

public void speedDown(String brand){        

System.out.println(brand + "汽车正在减速行驶");

}

public void speedDown(String brand, double speed){

System.out.println(brand + "汽车正以时速" 

+ speed + "公里的速度减速行驶");

}

}

class Test{

public static void main(String[] args){

Car car = new Car("宝马", 100.5);

car.speedUp("法拉利");

car.speedUp("法拉利", 280.5);

car.speedDown("法拉利");

car.speedDown("法拉利", 120.9);

}

}

Java编写汽车类car

public class Car {

private int num;//编号

private String name;//型号

private double price;//单价

/**

 * 无参构造

 */

public Car(){

super();

}

/**

 * 有参构造

 * @param num

 * @param name

 * @param price

 */

public Car(int num, String name, double price) {

super();

this.num = num;

this.name = name;

this.price = price;

}

public int getNum() {

return num;

}

public void setNum(int num) {

this.num = num;

}

public String getName() {

return name;

}

public void setName(String name) {

this.name = name;

}

public double getPrice() {

return price;

}

public void setPrice(double price) {

this.price = price;

}

public String inforShow() {

return "Car [num=" + num + ", name=" + name + ", price=" + price + "]";

}

}

public class PriCar extends Car{

private int PersonNum;//最大载客量

public PriCar(int personNum) {

super();

PersonNum = personNum;

}

public PriCar() {

super();

}

public int getPersonNum() {

return PersonNum;

}

public void setPersonNum(int personNum) {

PersonNum = personNum;

}

@Override

public String inforShow() {

return "PriCar [PersonNum=" + PersonNum + "]";

}

}

public class VanCar extends Car {

private double weight;//最大载重

public VanCar(double weight) {

super();

this.weight = weight;

}

public VanCar() {

super();

}

@Override

public String inforShow() {

return "PriCar  [num=" + super.getNum() + ", name=" + super.getName() + ", price=" + super.getPrice() +",weight=" + weight + "]";

}

}

测试类不想写了  应该可以自己写出来了吧


网站标题:java汽车租车代码,简单的租车代码
本文地址:http://scyingshan.cn/article/hoeoig.html