-
July 8th, 2014, 03:43 AM
#1
Can a class be declared as static
Can a class be declared as static
-
August 1st, 2014, 08:04 AM
#2
Re: Can a class be declared as static
Yes, intern classes can be declared as static.
Here is an example:
public class OuterClass {
private static class InnerClass {
}
}
or
public class OuterClass {
public static class InnerClass {
}
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|