Question no.1: what is the java net . IDN class in 1.6?
Ans: methods the convert internationalized domain names(IDNs) between a normal Unicode representation and an ASCII compatible encoding (ACE) representation .
Question no.2: which of these interfaces are used by implementations of model for JTable?
Ans: Table Model, Table CommomModel
Question no.3: how many times can classes be nested within a class?
Ans: any number of times.
Question no.4: one method in your application needs to be synchronized.which of the following options are correct for synchronization?
Ans: a.public void Process(){synchronized(this){}}
b.public void synchronized Process(){}
Question no.5: what could be the replacement of "//ABC" in the following code ?
public class jam
{
public void apple(int i, String s)
{}
//ABC
}
Ans.: a. public void apple (string s , int i ){}
b. public void apple(int i , string s){}