C++ PROGRAMS FUNCTIONS DEFAULT ARGUMENTS CALL BY VALUE CALL BY REFERENCE CALL BY ADDRESS CLASSES AND OBJECTS CLASSES WITH PRIMITIVE...
Showing posts with label Java Programs. Show all posts
Showing posts with label Java Programs. Show all posts
HANDLING USER-DEFINED EXCEPTIONS
Java Programs Object Oriented Programming Lab OOPS Lab
SOURCE CODE: Exception.java import java.lang.Exception.*; class MyException extends Exception { MyException(String message) { super...
HANDLING PRE-DEFINED EXCEPTIONS
Java Programs Object Oriented Programming Lab OOPS Lab
SOURCE CODE: Exception.java public class Exception { public static void main(String args[]) { int a[]={5,10}; int b=5; try...
MULTI-THREADING
Java Programs Object Oriented Programming Lab OOPS Lab
SOURCE CODE: import java.lang.Thread; class A extends Thread { public void run() { for(int i=1;i<=5;i++) { if(i==1)yield(); Sys...
USER DEFINED INTERFACES
Java Programs Object Oriented Programming Lab OOPS Lab
SOURCE CODE: Interface.java interface Area { final static float PI=(float) 3.14; float compute(float x,float y); } class Rectang...
USER DEFINED PACKAGES
Java Programs Object Oriented Programming Lab OOPS Lab
SOURCE CODE: classA.java package package1; public class classA { public void displayA() { System.out.println(&q...
HANDLING STRINGS
Java Programs Object Oriented Programming Lab OOPS Lab
SOURCE CODE: //StringOrdering.java public class StringOrdering { Static String name[]={"CHENNAI","TIRUNELVELI",&qu...
CLASSES, OBJECTS AND METHODS
Java Programs Object Oriented Programming Lab OOPS Lab
SOURCE CODE: class Area { int l,b; Area(int x,int y) { l=x; b= y; } int Result() { ...
IT1403 - Software Components Laboratory | Java Programs and Applications
Java Programs Software Components Lab
JAVA APPLICATION - INTERFACE JAVA APPLICATION - CLONING JAVA APPLICATION - REFLECT...
EJB – ARITHMETIC OPERATION
Java Programs Software Components Lab
AIM: To write a Java application for bank accounts using visibroker. ALGORITHM: Step 1: Start Step 2: Go to File => New Project ...
DSI, DII IN CORBA USING VISIBROKER AND JAVA
Java Programs Software Components Lab
AIM: To write a Java application for bank accounts using visibroker. ALGORITHM: SERVER: Step 1:Start Step 2:Create the Bank folde...
VB TO JAVA - STRING CONCATENATION
Java Programs Software Components Lab
AIM: To create a VB to Java application for the implementation of string concatenation. ALGORITHM: Step 1: Start Step 2: Code the ...
ACTIVEX DLL - SIMPLE CALCULATOR
Java Programs Software Components Lab
AIM: To create a VB application for the implementation of simple calculator using ActiveX DLL. ALGORITHM: MiniCalc.dll Step 1: Def...
ACTIVEX CONTROL - MARQUEE
Java Programs Software Components Lab
AIM: To create a VB application for the implementation of marquee operation using ActiveX control. ALGORITHM: Animate_Click() Step...
CORBA - STOCK APPLICATION
Java Programs Software Components Lab
AIM: To write a Java program for the implementation of stock application using CORBA. ALGORITHM: SERVER SIDE: Step 1: Start Step ...
CORBA - CELCIUS TO FARENHEIT CONVERSION
Java Programs Software Components Lab
AIM: To write a Java program for the implementation of celcius to farenheit using CORBA. ALGORITHM: SERVER SIDE: Step 1: Start St...
REMOTE METHOD INVOCATION - IIOP
Java Programs Software Components Lab
AIM: To write a Java program for the implementation of RMI for IIOP. ALGORITHM: SERVER SIDE: Step 1: Start Step 2: Define the cla...
REMOTE METHOD INVOCATION - PALINDROME
Java Programs Software Components Lab
AIM: To write a Java program for the implementation of Remote Method Invocation for palindrome. ALGORITHM: SERVER SIDE: Step 1: S...
REMOTE METHOD INVOCATION - ADDITION/SUBTRACTION
Java Programs Software Components Lab
AIM: To write a Java program for the implementation of Remote Method Invocation for addition and subtraction operations. ALGORITHM: ...
JAVA APPLICATION - PACKAGE
Java Programs Software Components Lab
AIM: To write a Java program for the implementation of package. ALGORITHM: Step 1: Start Step 2: Define the class testpck Step 3: ...
Subscribe to:
Posts (Atom)