Explain the relationship between the Canvas and Graphics
class?
Answer Posted / amit singh(mca ,niet,grnoida)
relation between Canvas class and Graphics class is that
trugh paint() method Canvas object provides access to a
Graphics object via its paint()
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
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 class is the wait() method defined in? : Java thread
What is data type modifier?
Is void a data type?
What is the final blank variable?
What is time complexity algorithm?
What is string manipulation?
Can singleton class be cloned?
What are the important methods of java exception class?
What is the arraylist in java?
How to find the index of the largest number in an arraylist java?
Why do people says “java is robust”?
Can a singleton class be inherited?
How to reverse a string in java?
How do you escape in java?