What are the OOPS concepts in Java ?

Answer Posted / niranjanravi

Polymorphism,Inheritance,Encapsulation,Abstraction

Is This Answer Correct ?    43 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the select method with an example?

856


A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.

790


Explain the difference between treeset and treemap in java?

771


Can a top level class be private or protected?

803


Can we declare a class as static?

818


What are strings in physics?

794


What is parameter example?

791


What is fundamental datatype?

746


Which is the class in java?

759


What are recursive functions? Give some examples?

875


How do constructors use this() and super()?

829


What happens to the Exception object after handling an exception?

2100


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

1565


Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me

1609


How do you sing an Applet ?

2253