Latest Answer: //declareprivate JTabbedPane pane ; //initialisepane = new JTabbedPane(); //add GUI components to the TABPANEpane.addTab(nameoftab, component); ...
Latest Answer: Telivison is a class Onida TV is an object ...
Latest Answer: We use synchronized methods or synchronised blocks to make your application thread safe. You can use synchronized methods, but the problems may be:1. It degrades the performance of your application.2. Slows down the your program because synchronozation ...
Latest Answer: Static block always executed immaterial of any thing so you can apply it for keep tracking of user visits.Static methods are always executed only by calling it through class name ...
Latest Answer: We can use Hashtable to store different types of data in a single arrayHashtable hash = new Hashtable();hash.put("INT_OBJ",new Integer("1"));hash.put("STR_OBJ",new String("A")); hash.put("BOL_OBJ",new ...
Public class test{ public void hello() { System.out.println("Helllo"); }}public class test1 extends test{ public void say(){ super.hello(); hello();}public void main(String arg[]){ test1 t = new test1(); t.say();}}In the above code what will be difference of super.hello(); and hello();. What is use of super instead of calling directly method name.
Class A { void add(); } class B { void add();}class Ex {public static void main(string args[]) {A a=new B();B b=new A();a.add();b.add();}What is the result;
Which of the function returns a reference to an object provided by an ActiveX component. a) createobject b) getobjectname c) createobjectx d) getobject
Latest Answer: it will load the driver jdbd odbc ...
choice:a)compilation errorb)runtime errror Or what is the result?
Latest Answer: it will result in a compilation error because first thing is that you have not written method body ,else if you don't want to write method body then declare it abstract and terminate it using semi colon. ...
View page << Previous 1 2 3 [4] 5 6 7 8 9 10 Next >>

Go Top