Why Java is not purely object oriented?

Answer Posted / samba

Ans) Java is not pure object orinted language. why because
we can write java program class and objects and also can
write java program class and primitive type variable as
like int float double and byte.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does string mean in java?

828


Why declare Main() method as a static in java ?

815


How would you dynamically allocate memory to an array?

797


How does indexof work?

725


What is the structure of java?

751


Explain about exception propagation?

767


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

760


What is javac_g?

762


What is your platform?s default character encoding and how to know this?

2006


Can we force garbage collector to run ?

775


What is a finally block? Is there a case when finally will not execute?

752


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

1546


What is the main purpose of java?

754


Is this valid in java ? Can we instantiate interface in java?

755


What is a list in java?

720