rakesh kumar mishra


{ City } delhi
< Country > india
* Profession * software eng.
User No # 55237
Total Questions Posted # 0
Total Answers Posted # 5

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

Users Marked my Answers as Correct # 29
Users Marked my Answers as Wrong # 3
Questions / { rakesh kumar mishra }
Questions Answers Category Views Company eMail




Answers / { rakesh kumar mishra }

Question { CTS, 3979 }

whatis arguments &what is default argument


Answer

Every Method have 0 or more than 0 argument.
If method have zero argument that is called default argument.
Arguments are passed in method parameter.
In every java program one default Constructor will be with
default argument.

Is This Answer Correct ?    2 Yes 0 No

Question { 6645 }

what is java virtual machine


Answer

A)JVM convert .class to machine language.

B) JVM is .exe program that is java.exe

C)JVM (Java Virtual Machine) run the java program.

1) JVM check .class code is proper or not (Its check byte
code , virus etc) if .class code is not proper it terminate
the execution.

2) If .class is in proper format then it will start work.
JVM has 5 part:-
1)Method Area
2)Heap Area
3)Java Stacks
4)PC register
5)Native Method Stacks

method area has class code, variables code and method code.
When object is created it store in heap Area.
In our program there will some methods, and its take some
memory for execution and store o/p so this is done in Java
Stacks.
PC register has memory address of every method.
Native Method has Native methods.

3) JVM start program from main(). this is starting point of
JVM in our Program.
JVM also check main method and its argument must be String
type array.

Is This Answer Correct ?    2 Yes 1 No


Question { Photon, 7072 }

"Sun Certified Java Programmer" This is one String , we need
to print SCJP, write the java code dynamically? pls reply
this questions


Answer

public class Sample
{
public static void main(String args[])
{
String str = "Sun Certified Java Programmer";
StringTokenizer st=new StringTokenizer(str," ");
while(st.hasMoreTokens())
{
String value=st.nextToken();
System.out.println(value.charAt(0));
}
}
}

Is This Answer Correct ?    6 Yes 2 No

Question { i3 Solutions, 3479 }

what is platform


Answer

platform is a Interface between human and computer. Without
any platform we can not use Computer.
Operating System is a Platform that provide to manage easily
our computer system, file system and etc.

Is This Answer Correct ?    1 Yes 0 No

Question { IBM, 5612 }

use of wrapper classes?


Answer

Collection accepts only object not primitive data-type And
server also works on only Objects.
So By help of wrapper class we can convert primitive
data-type to Object.

Is This Answer Correct ?    18 Yes 0 No