Answer Posted / rana
A class is said to be final when i dnt want my class to be
extended by any class so that methods implementation cannot
be changed.
For ex String is a final class
Is This Answer Correct ? | 31 Yes | 3 No |
Post New Answer View All Answers
Explain java coding standards for methods?
How do you read and print a string in java?
According to java operator precedence, which operator is considered to be with highest precedence?
Explain the init method?
Why do we declare a class static?
Explain spliterator in java8?
Explain the difference between hashmap and hashtable in java?
Is sizeof a keyword in java programming?
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
Which list does not allow duplicates in java?
What environment variables do I need to set on my machine in order to be able to run java programs?
What are the different access modifiers available in java?
What is super?
What does replaceall do in java?
What is api in java?