83 What is exception chaining in Java?

Code: import java.io.IOException; public class Test { static void m1() throws Throwable   { try { System.out.pri...
Read More

82 What is checked or Compile Time Exceptions in Java?

Code for InvalidAgeException: package com.ca; public class InvalidAgeException  extends Exception { public InvalidAgeException() ...
Read More

81 How to Create user Define Exception Classes in Java?

Code for InvalidAgeException: package com.ca; public class InvalidAgeException  extends Exception { public InvalidAgeException() ...
Read More

80 What is the difference between PrintStakeTrace, toString, getMessage in Exception Handling in Java?

Code: package com.ca.atharva; class Demo { static void m1() { try { System.out.println(" try block "); i...
Read More

79 Program on how to Print all Exceptions which are Raised in our Application in Java?

Code: class Demo { public static void main( String args[] ) { try { System.out.println(" try block "); in...
Read More

77 Program on Try, Catch, Finally Blocks with Non Void Method in Java?

Code: class Demo { static int m1() { try { System.out.println(" try block "); int a = 10/0; return 111...
Read More

76 Program on try and Multiple Catch Blocks in Java?

Code: class Test { public static void main( String args[] ) { try { System.out.println(" Try Block "); // ...
Read More

32 Program to subtract two 16 bit BCD number in 8086 Microprocessor

Code: ; Program to sub two 16 bit BCD number .MODEL SMALL .STACK 100 .DATA    NUM1 DW 9000H    NUM2 DW 0999H    RES  DW 0 .CODE ...
Read More

31 Program to subtract two 8 bit BCD number in 8086 Microprocessor.

Code: ; Program to substract 2 BCD number .MODEL SMALL .STACK 100 .DATA      NUM1 DB 85H      NUM2 DB 57H      RES DB 0 .CODE ...
Read More