Skip to content

Category Archives: Java Programming

Do Interfaces Really Inherit the Object Class In Java?

Do you think that Interfaces in Java inherit the members of the Object class? If NOT then how do you call many Object class methods on a reference of an interface type? Shouldn’t it be a compile-time error? Let’s try to understand what actually helps the compiler to know the signature of these Object class methods. And if you think your answer to the question is YES then how do you justify the fact that interfaces in Java don’t contain code, but only the signature. Does the rule changes in this case? Okay, so we have plenty of questions coming up irrespective of whether your answer is YES or NO. Let’s try to understand what internally happens.

Continue Reading: Do Interfaces Really Inherit the Object Class In Java? →
Java Authentication and Authorization Service

JAAS delivers a framework for providing a mechanism to verify the client and to ensure that the client has the permissions required to approach a secured resource for all the Java applications. The Security agency on the Server side uses the same authentication information to accomplish a JAAS login in to the server side.

Continue Reading: Java Authentication and Authorization Service →
Java 6.0 APIs

Java 6.0 introduces many Application Programming Interfaces and there are many enhancements in existing classes especially in collection APIs. The summary of changes in collection framework is listed below.

Continue Reading: Java 6.0 APIs →
Memory Leaks in Java

One of the beauties of using Java programming language is that the programmers need not worry about the memory allocation and freeing of objects. We simply declare and initialize objects and JVM(Java Virtual Machine) will take care of freeing them when they are no longer in use by any application through a mechanism called ‘garbage collection’. Before we start our topic, let us check how the memory is allocated for the objects.

Continue Reading: Memory Leaks in Java →
Java Garbage Collection

What is garbage collection? It deals with identifying and freeing the memory of java application that are not used for a long time. There are two type garbage collection techniques, namely explicit and implicit methods. Implicit Garbage collection and Explicit Garbage collection Java run time system can invoke the garbage collector automatically so that the [...]

Continue Reading: Java Garbage Collection →
Software Development | Java RMI

Java RMI based Client/Server application, in which a server will be used to serve requests of remote Java Clients for mathematical operations. This will allow the user to use the following operations: Add, Subtract, Square, and Multiply.

Continue Reading: Software Development | Java RMI →
What is Java Object Initialization?

The concept of objects in a broad sense can be described as a collection of data along with the methods to manipulate the corresponding data. The Objects are be loaded into the memory before processing.

Continue Reading: What is Java Object Initialization? →
The 1st JavaScript Editor

1st JavaScript Editor is advanced JavaScript Editor, Validator and Debugger for beginners and professionals! Beside rich possibilities of editing scripts (JavaScript, HTML, CSS, VBScript, PHP and ASP syntax highlighting, etc) the program offers large snippets library with full collection of HTML tags, HTML attributes, HTML events, JavaScript events and JavaScript functions, attributes, statements and operators [...]

Continue Reading: The 1st JavaScript Editor →