0

I keep getting these two errors.

Timing.java:45: <identifier> expected
Public void double squared(double n)
^
Timing.java:54: <identifier> expected
Public void double exponential(double n)


I can't for the life of me figure out what I am missing. I've been away from Java for about 2 years and I was never really good at it to begin with. Can anyone help?

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by FJones
0

Public should be "public"

Aha! Figured it would be something small I was missing. Thank you very much!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.