Insert the local variable declaration into the method body.
You've already written
public class QuizClass { private int instanceVar; public void doSomething (String theParameter) { } }and
double localVar;They go together as
public class QuizClass { private int instanceVar; public void doSomething (String theParameter) { double localVar; } }