Defendant was charged with leaving the scene of an accident, MCL 257.617; MSA 9.2317, a felony punishable by up to five years’ imprisonment. A plea of not guilty was entered and defendant was granted youthful trainee status pursuant to the Holmes Youthful Trainee Act (hyta), MCL 762.11 et seq.; MSA 28.853(11) et seq. The prosecution’s motion to revoke defendant’s youthful trainee status on the basis that the charged offense was excluded from the hyta was denied. The trial court concluded that the exclusion of traffic offenses from those crimes for which youthful trainee status can be granted is unconstitutional. Leave to appeal was granted. We reverse.
Without objection by the prosecution, the trial court granted defendant’s motion for youthful trainee status. Defendant was placed on probation for two years and was ordered to pay fines and restitution. The prosecution’s motion to revoke defendant’s youthful trainee status was made approximately six months after defendant was sen*149tenced. In denying the motion, the trial court declared the youthful trainee statute discriminatory.
Defendant challenges the prosecution’s appeal on the basis that it failed to object to the petition for youthful trainee status until after sentencing. The authority to sentence an offender under the hyta is jurisdictional. People v Dolgorukov, 191 Mich App 38, 39; 477 NW2d 118 (1991); People v Mahler, 156 Mich App 799, 801; 402 NW2d 93 (1986). Jurisdictional defects may be raised at any time. People v Boynton, 185 Mich App 669, 670; 463 NW2d 174 (1990).
The prosecution challenges the trial court’s conclusion that the hyta is unconstitutional. At the time of defendant’s sentencing, the act provided:
When a youth is alleged to have committed a criminal offense, other than a felony for which the maximum punishment is life imprisonment, a major controlled substance offense, or a traffic offense between the youth’s seventeenth and twentieth birthdays, the court of record having jurisdiction of the criminal offense may, with the consent of both the affected youth and the youth’s legal guardian or guardian ad litem, consider and assign that youth to the status of youthful trainee. As used in this section, "traffic offense” means a violation of the Michigan vehicle code, Act No. 300 of the Public Acts of 1949, being sections 257.1 to 257.923 of the Michigan Compiled Laws, or a local ordinance substantially corresponding to that act, which violation involves the operation of a vehicle and at the time of the violation is a felony or misdemeanor. [MCL 762.11; MSA 28.853(11). Emphasis added. See 1988 PA 4.]
Defendant’s charged offense, leaving the scene of an accident, MCL 257.617; MSA 9.2317, is expressly excluded from the hyta.
*150The trial court’s conclusion that the hyta is discriminatory implicates the Equal Protection Clause. Both the federal and the state constitutions guarantee equal protection. US Const, Am XIV; Const 1963, art 1, § 2; People v Groff, 204 Mich App 727, 731; 516 NW2d 532 (1994). Both constitutions afford similar protection. Doe v Dep’t of Social Services, 439 Mich 650, 670-671; 487 NW2d 166 (1992). Unless the discrimination involves a suspect class or impinges on the exercise of a fundamental right, the applicable equal protection test is whether the classification is rationally related to a legitimate governmental purpose. Id. at 662. Because the hyta does not involve a suspect class or impinge upon a fundamental right, the rational basis test should be applied to determine whether it violates equal protection. See People v Perkins, 107 Mich App 440, 443-445; 309 NW2d 634 (1981) (rational basis test applied to the age classification in the hyta).
Under the rational basis test there is a presumption of constitutionality. Id. As long as the legislation is supported by "any state of facts either known or which could reasonably be assumed,” it must be upheld. Bissell v Kommareddi, 202 Mich App 578, 580; 509 NW2d 542 (1993). The party challenging the legislation has the burden of demonstrating that the classification is arbitrary and does not have a rational relation to the object of the legislation. Id. at 580.
In support of the trial court’s conclusion that the hyta is unconstitutional, defendant asserts that the legislative intent of specifically excluding criminal traffic offenses was to prevent circumvention of the provision in the drunken driving laws for felony charges upon a third offense. However, the clear language of the statute indicates, that the reach of the traffic offense exclusion goes beyond *151drunken driving offenses. In a preliminary analysis of HB 4596, which became 1988 PÁ 4, it was noted that the bill would bar assignment to trainee status when a seventeen- to twenty-year-old was charged with something other than drunken driving. House Legislative Analysis, HB 4596, December 17, 1987. It is clear that by passing the bill as written, it was intended that the reach of the exclusion would extend beyond drunken driving offenses.
This state has a longstanding policy of holding all drivers, even minors, to an adult standard of care. Constantino v Wolverine Ins Co, 407 Mich 896 (1979); Osner v Boughner, 180 Mich App 248, 254-257; 446 NW2d 873 (1989). The exclusion from youthful trainee status of those charged with traffic offenses is rationally related to this legitimate purpose.
The hyta should not be struck down because it permits youthful trainee status for serious offenses under the Criminal Code, but denies such status for charges of less serious traffic offenses under the Vehicle Code. A statute need not be struck down merely because the classification was not mathematically precise or results in practice in some inequality. Weeks v Bd of Trustees, Detroit Gen Retirement System, 160 Mich App 81, 86; 408 NW2d 109 (1987). Because the statute is otherwise rationally related to the goal of holding minors to an adult standard of care when driving an automobile, an adult activity, it should not be found to violate equal protection.
Reversed.
Saad, J., concurred.