Core Java Interview Questions
Questions Answers Views Company eMail

how to create an applet

2 3453

what really hapens when a object is created using new operator? 1.is it allocates memory to all variables and methods in the class with reference to that object?

3 4273

Is java pure object oriented or not? if yes, give the valid reason.

Emphasis, NIIT, Syntel, Wipro,

13 17603

How many types of thread in java? give the name

Cisco, NIIT,

13 50676

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". } } }

Google,

1347

why java is better then .net?

HCL, iGate,

5 7450

What is an anonymous class?

IBM,

1 4754

WHAT IS JDK,JVM,CLASS DEFINE ALL?

2 3648

i don't want fullforms of JDK an JVM i want definitions for them

2 3855

what is the full form of java

3 8161

what is the diffrence between class and object?

5 4946

import java.io.*; class Demo { public static void main(String args[]) { File f=new File("1234.msg"); String arr[]=f.list(); System.out.println(arr.length); } }

IBM, Ramco,

3 5180

how jvm allocates memory for stack?

HP, Ramco,

1 3738

What is dynamic dispatch in java?

4 7121

what is the difference between String and StringBuffer classes?

Infosys,

2 4400


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is array class in java?

592


Explain about doubly linked list

614


How do you reverse sort a list in java?

505


What are decalarations?

634


design an lru cache in java?

542






What is difference between ++ I and I ++ in java?

524


What is java jit compilers?

556


What is string data type?

548


What is entry set in java?

529


What is parsing in grammar?

552


Explain about map interface in java?

586


What is meant by singleton class?

598


What is gc()?

577


what are different ways in which a thread can enter the waiting state? : Java thread

490


What is multithreading and its advantages?

571