Search:

Type: Posts; User: sivaprakash

Search: Search took 0.19 seconds.

  1. Thread: volatile

    by sivaprakash
    Replies
    0
    Views
    429

    volatile

    Hi,

    what is use of volatile and transient variable ? which scenario we use the volatile and transient variable ?
    can anybody tell with realtime example ?
  2. Replies
    2
    Views
    570

    Re: Java Exceptions

    here simple program.
    1. public class Excep16 {
    public static void main(String[] args) {
    try{
    for(int cnt = 0; cnt < 5; cnt++){
    if(cnt == 5) throw new MyException("number is...
Results 1 to 2 of 2