Hey i m new in java please tell me the delay function in java lika it works in c/c++.

Java has methods not functions.
What java class is the delay() method in?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.