Java Installation on Ubuntu




Java Installation on Ubuntu Below is the Installation Procedure for Oracle Java Installation on Ubuntu: Java Installation on Ubuntu: Download latest JDK version which is later than 1.6 from Oracle Site. In this installation, we used JDK 8 version. Download jdk-*-linux-x64.tar.gz zipped binary tarball for Linux 64 bit machine. Here ‘*’ refers to jdk version number for example 8 in our case. Copy […]

Read more

Java Basic Input and Output




Java Basic Input and Output JAVA Basic Input and Output Below are some basic and important notes on File input/output through Java Programming. In Java, I/O Streams are a powerful concept that simplifies I/O Operations. An I/O Stream represents an input source or output destination. Java programs uses an input stream to read data from a source, one item at […]

Read more

Java File Input and Output




Java File Input and Output Java File Input and Output: A file is identified by its path through the file system, beginning from the root node. A symbolic link is a special file that serves as a reference to another file. when a symbolic link is deleted, or renamed then link itself is deleted, or renamed and not the target […]

Read more

Short Notes on Java Collections Framework




Short Notes on Java Collections Framework Java Collections Framework Notes: Collection Interface: The fundamental interface for collection classes in the Java library is the Collection interface. public interface Collection<E> { boolean add(E element); Iterator<E> iterator(); } The add method returns true if adding the element actually changes the collection, and false if the collection is unchanged. The iterator method returns […]

Read more