Preprocessor Directives & Macro in C

Difference between Preprocessor Directives and Macro Preprocessor Directives Introduction The C pre-processor is not part of the compiler but is a separate step in the compilation process. The syntax of the pre-processor is different from the syntax of the rest of the C program in several respects. Definition Preprocessor directives Read more…

Loading

Introduction & History of Java

Introduction Java is the most popular programming language in the world today. Java offers three flavors of programming –  Java application, Java applets & Servlets. Java servlets are similar to applets programs except they execute on servers side. Servlets are Java programs answer to traditional CGI programming. Servlets are programs Read more…

Loading

Java Servlets Examples

Example: A Servelets program to print a message. Example: A Servelets program to print user-accepted data from a Form. Example: A Servelet program to handle form submissions and displays the submitted data on the web page. Example: A Servelets program to print user-accepted data from a Form/web page. Example: A Read more…

Loading

RMI in Java

Introduction The RMI  stands for Remote Method Invocation. It is provided in the package java.rmi. Definition The RMI is an API that provides a mechanism to create distributed application in java. Java RMI is a mechanism that allows one Java Virtual Machine (JVM) running object to invoke methods on an object running on another JVM. Read more…

Loading

Java Beans

Introduction JavaBeans is developed by Sun Microsystems and released in 1996, as part of JDK 1.1. The meaning of ‘beans’ in JavaBeans are classes that encapsulate one or more objects into a single standardized object (called the bean, here Bean is class and seeds of bean are objects). This bean finally allows easier code reuse Read more…

Loading

Java Servlets

Definition Servlets are Java programs that run on the Java-enabled web server or application server. They are used to handle the request obtained from the web server, process the request, produce the response, then send a response back to the web server.  A servlet is a class of Java programming language, used Read more…

Loading

Operators in Java

Type of Operators Java provides various types of operators(very much similar to C programming) that can be used to perform different operations on variables and values. These are:- Arithmetic Operators They are divided into two categories – Binary Arithmetic Operators and Unary Arithmetic Operators. Binary Arithmetic Operators – Binary operators Read more…

Loading

Operators in C

Introduction of Operators in C Operators in C are the term used to describe the action to be taken between two data operands. Operators in C allow us to perform different kinds of operations on operands. An operand is a sub-expression/value on which an operator acts. Definition Operators in C An Operator Read more…

Loading

Circular Linked List Example

Single Circular Linked List Example: A data structure program using C to create a Single Circular Linked List with user-defined nodes to store records with at least two attributes of student and then display all the stored records. Example: A data structure program using C to Insert a new node into a Single Circular Read more…

Loading