Advert

Java

Last edited by . Total of no comments in the discussion.

Java was originally developed as an implementation of a programming language that would compile and complete its directive functions regardless of platform and language version. It was developed by James Gosling, a software developer employed by Sun Microsystems in June of 1991, whom released the first version of Java in 1995. The language is designed to allow programmers to write the code once and have it work in any Java Virtual Machine. The ability to do so has made this programming language extremely versatile, productive, and easy to use, and has helped Read More

Share on:

Constructors in Derived Class

Last edited by . Total of 2 comments in the discussion.

A constructor plays a vital role in initializing an object. An important note, while using constructors during inheritance, is that, as long as a base class constructor does not take any arguments, the derived class need not have a constructor function. However, if a base class contains a constructor with one or more arguments, then it is mandatory for the derived class to have a constructor and pass the arguments to the base class constructor. Remember, while applying inheritance, we usually create objects using derived class. Thus, it makes sense Read More

Share on:

J2SE

Last edited by . Total of no comments in the discussion.

J2SE is the Java 2 Standard Edition. J2SE features: Portability JDBC API for database access CORBA technology Java secuity J2SE consists of two components: Core Java and Desktop Java. Core Java provides back-end functionality, while Desktop Java provides GUI (Graphical User Interface) functionality. J2SE contains both the J2SE Development Kit (JDK) and the Java Runtime Environment (JRE). For more information on J2SE, visit J2SE.

Share on:

Java Bytecode

Last edited by . Total of no comments in the discussion.

Java bytecode is produced by the Java compiler and executed by the JVM (Java Virtual Machine). Java bytecode isn’t exactly source code, and it isn’t exactly compiled code, it’s something in the middle. Java bytecode is one of the things that make it possible for Java code to run on many different platforms.            

Share on:

Static Class Members

Last edited by . Total of no comments in the discussion.

The members (data members and member functions) of a class may be qualified as static by preceding member declaration with the keyword static. There may be static data members and static member functions in a class. Static Data Member A static data member of a class is just like a global variable for its class. That is, this data member is globally available for all the objects of that class type. The static data members are usually maintained to store values common to the entire class. For instance, a class Read More

Share on:

How to Sign a Java Applet

Last edited by . Total of 1 comment in the discussion.

To sign a Java applet, follow these steps: Compile your applet with `javac` Create a jar file with `jar` Generate a keystore database with `keytool` Sign the jar file with `jarsigner` Export the public key certificate with `keytool’

Share on:

Pointers

Last edited by . Total of no comments in the discussion.

A pointer is a variable that holds the memory address, usually a location of another variable in memory. The use of pointers is critical for the successful programming in C++. The three reasons that support this are, Pointers provide the means through which the memory location of a variable can be directly accessed and hence can be manipulated in any way. Pointers support dynamic allocation routines. Pointers can improve the efficiency of certain routines. Since pointers hold memory location of another variable and also facilitate dynamic memory allocation, we must Read More

Share on:

Java Decompiler

Last edited by . Total of 1 comment in the discussion.

A Java decompiler is a special type of decompiler which takes a class file as input and produces Java source code as output. Java Decompilers Jode JODE is a Java package containing a decompiler and an optimizer for java. This package is freely available under the GNU GPL. The bytecode package and the core decompiler is now under GNU Lesser General Public License, so you can integrate it in your project. The Jode Java decompiler reads in class files and produces something similar to the original java file. Of course Read More

Share on:

How to Enable Java

Last edited by . Total of no comments in the discussion.

The Java Virtual Machine (JVM) is a collection of software programs and data modules that forms part of the Java and Java 2 platforms. JVM works across all platforms and it alters Java bytecode into machine understandable code and executes it. It acts as a clone of a Java processor allowing Java bytecode to be implemented as an action or as a system call. JVM is a vital building block of the Java platform, as it enables Java code or applications to be executed across platforms. The JVM recognizes and Read More

Share on:

How to Debug Java

Last edited by . Total of no comments in the discussion.

The JDK ships with jdb, the Java Debugger. JSwat is a better way to debug Java. JSwat is a graphical Java debugger front-end which is licensed under the GPL. Patricia Sherman has written an excellent tutorial on debugging Java, titled Debug Strategy.

Share on: