Jump to content

Kimberly

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Kimberly

  1. On this page https://www.w3schools.com/java/java_classes.asp it says: "In Java, an object is created from a class. We have already created the class named MyClass, so now we can use this to create objects. To create an object of MyClass, specify the class name, followed by the object name, and use the keyword new:" However as you could see the actual code example shows a class with the name Main. This can be confusing to people that are new. In the C++ page it is done correctly. It has the same verbage as above and the code shows a class with the name MyClass https://www.w3schools.com/cpp/cpp_classes.asp Thank you for all the great work and easy to follow lessons, the site has helped me a lot.
×
×
  • Create New...