kuldeep vishwakarma


{ City } indore
< Country > india
* Profession * fresher
User No # 80243
Total Questions Posted # 0
Total Answers Posted # 4

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 3
Users Marked my Answers as Wrong # 0
Questions / { kuldeep vishwakarma }
Questions Answers Category Views Company eMail




Answers / { kuldeep vishwakarma }

Question { TCS, 55540 }

printf("%d",(printf("Hello")); What it returns?


Answer

printf("%d",(printf("Hello")));

ans: Hello5


printf("%d",(printf("Hello")));

ans: Hello5

printf("%d",(printf("Hello"));

ans: function call missing )
(because end parenthesis is not close)

Is This Answer Correct ?    0 Yes 0 No

Question { Infosys, 10321 }

What is servlets.


Answer

Servlet is a small java program that work in server side(web container).It works as a controller in the server side because when any request send(in java code form) from the any web browser to the server side then servlet manipulate this request and give response(in html form)to the web browsers.We always use request and response object that is object of HttpServletRequest and HttpServletResponse respectively.So we can say that servlet always run in server side.

Is This Answer Correct ?    1 Yes 0 No


Question { 19481 }

What is the need to declare main() method as static in Java?


Answer

We know very well that when we want to call any method without creating Class object in which that method is reside,this will
be perform by "static" keyword.And in java main()always call by JVM,So we can call main()without instance create with the help of jvm.Therefore we needed static with main();
INTERNALLY MAIN()CALL WITH THE HELP OF TRY-CATCH BLOCK

try{
ClassName.main();
}
catch(Exception e)
{
---------------
}

Is This Answer Correct ?    1 Yes 0 No

Question { 4540 }

what is the function of OS


Answer

OS(Operating System) provides
interface between Hardware and
User.OS perform many task such
as Memory Mgmt,Resource Mgmt,
Time Mgmt for any process,
Process Mgmt.It covers all complex
work which work behind the user.

Is This Answer Correct ?    1 Yes 0 No