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 11051how 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
2337Is 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
What is ObjectInspector functionality?
what is first law of Thermodynamics ? What is second law of Thermodynamics ?
Explain url encoding in servlet?
What is citrix automation?
Define NoSQL Database?
Name the different types of infocubes.
Explain node.js architecture?
As a marketing manager of an insurance company. How do you go about designing an effective communication program for your company?
What is iobjectset? : Entity framework
Explain different types of collation sensitivity?
For a single Struts application, can we have multiple struts-config.xml files?
Explain what is a foreign key relationship?
What is the use of glacial acetic acid?
What are the beneficial tools for administering the database?
How does AI contribute to drug discovery?