Latest Answer: OO paradigm = Object Oriented Paradigm.This is the basic concept of Object Oriented Languages.It actually means we have to only work out with objects.Communications take place between classes with the help of objectsEx:- Java,C++ ,But not C(Function Oriented) ...
Latest Answer: The reference variable is that one where we r not using the new keyword e.g. Connection con; But Object is that where we r using new operatore.g Classname cs1=new classname ...
what will happen when u attempt to compile and run the below code. int a = (int) Math.random(); a.0 b.1 c. compilation fails d. 0 to Ineteger.MAX_VALUE 3. which two are used to declare the boolean primitive a. boolean b =0;b. boolean b = Boolean.TRUE;c. boolean b = true;d. boolean b = (3>=0); 4. what is the O/P? class A{ Void get(){ Sysout(“A”);}} Class B extends A{ Void get(){
Which one you will use as key in java.util.HaspMap a. int a =5;b. new Object();c. new Integer(“5”);d. new Character(‘C’);
Latest Answer: the following code shows you how to communicate to servlet from within an applet// Connection to servletURL urlServlet = new URL(getCodeBase(), "ServletName");URLConnection con = urlServlet.openConnection();con.setDoInput(true);con.setDoOutput(true);con.setUseCaches(false);con.setRequestProperty("Content-Type", ...
Explain details of concept of"object iceland" in garbage collection (object lifetime) in corejava
Latest Answer: it is used to load the class at runtime and in jdbc it is used to load the driver and according to specification every driver class must contain a static block in which it contains the code to instanciate itself and the register itself with the driver ...
Latest Answer: Considerint a = 10;int b = 2*a;now consider a variable having the name of 2*a then what will happenint 2*a = 89;compiler will be confused and will not consider it as identifierbut consider it as multiplication sort of thing.As java has no type of compiler ...
Servlet is Java class. Then why there is no constructor in Servlet? Can we write the constructor in Servlet
When we increase the buffer size in our project using page directive attribute ‘buffer’ what changes we observe?
View page << Previous 1 [2] 3 4 Next >>

Go Top