A base class reference can refer to child class object and through this reference we can call only those
members which define by base class only, but in case of overridden method through these reference we
can call method of derive class how it is possibl
FileOutputStream creates an OutputStream that you can use to write bytes to a file. Its most
commonly used constructors are shown here:
FileOutputStream(String filePath, boo
s.No C Data types storage Size Range
1 char 1 127 to 127
2 int 2 32,767 to 32,767
3 float 4 1E37 to 1E+37 with six digits of precision
4 double 8 1E37 to 1E+37 with ten digits of precision
5 long double 10 1E37 to 1E+37 with ten digits of prec
What is JSP Page:
JSP is a technology that combines the HTML/XMLmarkup
languages and elements of the Java programming language to
return dynamic content to a web client. For this reason, it is
commonly used to handle the presentation logic of a web
yet another insignificant programming notes. | HOME
A package is a collection of related Java entities (such as classes, interfaces, exceptions,
errors and enums). Packages are used for:
1. Resolving naming conf
A multithreaded program contains two or more parts that can run concurrently.
Each part of such a program is called a thread, and each thread defines a separate
path of execution. Thus, multithreading is a specialized form of multitasking.
In a thread-bas
Nested try Statements
The try statement can be nested. That is, a try statement can be inside the block of another try. Each
time a try statement is entered, the context of that exception is pushed on the stack. If an inner try
statement does not have a c
String class in Java
Java implements strings as objects of type String.
Implementing strings as built-in objects allows Java to provide a
full complement of features that make string handling convenient.
For example, Java has methods to compare two string
INTRODUCTION TO NETBEANS
Net Beans refers to both a platform framework
for Java desktop applications, and an integrated
development environment (IDE) for developing
C, C+, Scala, Clojure, and others.
An exception is an abnormal condition that arises in a code sequence at run time. In other words,
an exception is a run-time error.
A Java exception is an object that describes an exceptional (that is, error) condition that has
occurred in a pie
Member Access and Inheritance
Although a subclass includes all of the members of its super class, it cannot access those members of
the super class that have been declared as private.
Main Screen Form
Main Form Code:
public class StartUpForm extends javax.swing.JFrame
/* Creates new form StartUpForm */
What is Servlet?
Servlet is server site executable program in client server architecture.
Life cycle of servlet
classes related to servlet are not in jdk, they are in
javax.servlet and javax.servlet.http
servlet-api.jar contain all packages
What is a collection?
Java Collection Classes
Despite the performance benefit offered by the primitive types, there
are times when you will need an object representation. For example,
you cant pass a primitive type b
Despite the performance benefit offered by the primitive types, there are times when you will need an object
representation. For example, you cant pass a primitive type by reference to a method. Also, many of the standard
data structures imp
Although most of the classes defined by java.io operate on streams, the File class does not. It deals directlywith
files and the file system. That is, the File class does not specify how information is retrieved from orstored in files; it
In terms of different scale lengths climatic systems can be classied into: Planetary
(~5000km), Synoptic (~1000km), and mesoscale (~100km or less). The topography of the
land is one of the main factors directly responsible for the lo
Real Time Monitoring and Control of Oil and Gas
Fiber Optic Bragg Grating Technology
Solomon Amos Udoh
Supervisor: Dr. Prabhu
IDEAS Research Institute
Robert Gordon University
email@example.com 1 (000) 111 1111
Real time monitoring and