function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Geoffrey NixGeoffrey Nix 

A Trailhead challenge is asking me to create this method: public static insertNewAccount(String s). However when I do the developer console sees it as a constructor and not a method. The class is another name. Why is this happening and how do I fix it?

ApuroopApuroop
Please post your code. It's hard to answer without any information.