Can we access private data outside of the class directly in java programming language? Why There is no runtime checking in java, which leads to access the private data directly outside of a class?
5 11370how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
2428Is 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
Post New Google Core Java Interview Questions
Please explain class & object in c++?
How do I limit the number of rows returned by an oracle query after ordering?
What are the steps to be taken to schedule the report?
Explain the difference between mapping parameter and mapping variable?
How many types are available in machine learning?
Which dos command is used to delete one or more files?
What is network security?
Always declare destructors to be virtual"?????? why this is so needed?????
Find command can search for files by
How do you check if an arraylist is not empty?
What is 'electronic fund transfer system' (efts)?
Explain the importance of implementing a fault tolerance system? Are there limitations?
Is hibernate obsolete?
How much does microsoft outlook cost?
What are the different layers of ado.net?