Keywords Used in Exception Handling: 1) try 2) catch 3) finally 4) throws 5) throw 6) assert Code: import java.util.Scanner; ...
Read More
74 How to create Package in Different Location & How to Communicate?
Code: package ca; public class Test { public static void main(String args[] ) { System.out.println(" this is a package p...
Read More
73 How to Communicating with Different Locations Packages in a Single Program in Java?
A Code: package ram; public class A { public static int a = 111; } B Code: package sam; public class B { publ...
Read More
Subscribe to:
Posts (Atom)