Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
Can you declare a class as private?
Can you declare a class as private?
✍: Guest
Yes, we can declare a private class as an inner class. For example, class MyPrivate { private static class MyKey { String key = "12345"; } public static void main(String[] args) { System.out.println(new MyKey().key);//prints 12345 } }
2012-08-23, 2297👍, 0💬
Popular Posts:
Can you explain why your project needed XML? Remember XML was meant to exchange data between two ent...
How To Join a List of Keys with a List of Values into an Array? - PHP Script Tips - PHP Built-in Fun...
Describe different elements in Static Chart diagrams ? Package: - It logically groups element of a U...
Why is there extra white space before or after tables? This is often caused by invalid HTML syntax. ...
An application needs to load a library before it starts to run, how to code? One option is to use a ...