whats is the use of final,in which situation final can be
used in the application?

Answer Posted / cool_duzz

Constants.. that are not supposed to be changed ever.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is int argc char * argv?

552


How do you check if a string contains only numeric digits?

603


How many classes can any class inherit java?

495


What is the difference between the paint() and repaint() methods in java programming?

608


What is treemap in java?

536






What is a byte string?

604


What are different exception types exceptions available in java ?

467


Can substring create new object?

548


What do you understand by the term string pool?

553


What is the differences between c++ and java? Explain

572


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 subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }

1335


How to check if a list is sorted in java?

574


Can main() method in java can return any data?

627


What is the difference between menuitem and checkboxmenu item?

758


How to sort a collection of custom Objects in Java?

584