Click here to Skip to main content
15,887,585 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Create a class in empty method().java

What I have tried:

create a class in empty method().java
Posted
Updated 8-Jul-23 2:18am
v2
Comments
Andre Oosthuizen 8-Jul-23 7:52am    
Ok, have fun. Let us know if you get stuck on errors.

1 solution

That's really going to depend on what you mean by "Create a class in empty method().java"

All we get from that is that you are probably using the Java language (but that could be Javascript - some do confuse the two), that you want to create a class, and that you have an empty method.

So I'm going to have to guess that you are talking about Java - Inner classes[^]
If you aren't, then you really need to start by reading this: Asking questions is a skill[^] and think about what you need to know and what you need to tell us in order to get help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900