Answer Posted / ranganathkini
A class can be marked by the "private" access specifier only
if its a nested member of another class.
Top level classes cannot be marked as "private". Hence you
can have private classes in a java file but they must be
nested inside another class.
Is This Answer Correct ? | 208 Yes | 16 No |
Post New Answer View All Answers
Wha is the output from system.out.println(“hello”+null); ?
What is a bubble sort in java?
What is the escape character in java?
What exactly is a .class file?
Is null false in java?
Is there any way to find whether software installed in the
system is registered by just providing the .exe file?
I have tried the following code but its just displaying the
directory structure in the registry.
Here the code :
package com.msi.intaller;
import java.util.Iterator;
import ca.beq.util.win32.registry.RegistryKey;
import ca.beq.util.win32.registry.RootKey;
public class RegistryFinder {
public static void main(String... args) throws Exception
{
RegistryKey.initialize(RegistryFinder.class.getResource("jRe
gistryKey.dll").getFile());
RegistryKey key = new RegistryKey(RootKey.HKLM,
"Software\\ODBC");
for (Iterator
What do you mean by formatting?
How does remove work in java?
What is string builder in java?
What is method in research paper?
What is the parse method in java?
How can an exception be thrown manually by a programmer?
What is bean? Where it can be used?
Is null a keyword in java?
Is hashset ordered?