Hello everyone , i recently attended a mock interview kept by one of
my alumni , i was asked the following questions ,
Question asked : What language JVM is written ?
I answerd : In c ...
correct then
Question asked : why java main function is declared as public static void
main() ?
I
thanx
On Oct 3, 1:59 pm, siddharam suresh siddharam@gmail.com wrote:
public for visible to compiler/interpreter.
static only one main for one class/file/package.
void return none to compile/interpreter.
Thank you,
Sid.
On Mon, Oct 3, 2011 at 1:35 PM, Vengadanathan fantastic.n
the IP 's should be unique ? can there exist like this .. pls
explain me detail y ...
On Sat, Sep 3, 2011 at 1:09 AM, Vengadanathan fantastic.n...@gmail.comwrote:
ya both the subnet can exisit in the same network , but problem is
lack of communication between the two subnets ,because
ya both the subnet can exisit in the same network , but problem is
lack of communication between the two subnets ,because in routing
table of the router the record for 10.0.1.0/26 will be first then
record for 10.0.1.0/24 will be , so 10.0.1.0/26 will be given first
preference , so subnet
It may not work for all , the parameter input is double what happens
if the user gives a number greater the range of int datatype , in the
return statement during type casting overflow in int occurs and wrong
value is returned .
check this
http://www.ideone.com/oZbCf
i have given the input as
this is the program ,
#includestdio.h
int main()
{
int z=0,x=3;
z = x++ + x++;
printf(%d %d,z,x);
return 0;
}
i though the output would be 7,5 , but when i ran the code it was
6,5 , can anyone tell me how this o/p is obtained .
thanx in advance
--
You received this message because you are