I think "Exception"(I mean top in the Throwable class hierachy) checked in compile time.So any thread when we use compiler must give the error in that case.can you explain why it doesn't give...
Type: Posts; User: Supun Pramoda
I think "Exception"(I mean top in the Throwable class hierachy) checked in compile time.So any thread when we use compiler must give the error in that case.can you explain why it doesn't give...
I have some problem in that code...
import java.io.*;
class Demo{
public static void main(String args[]){
try{
//
...
ok. I think the the minimum number must be contain more than 6 digits.So I want to check each number digit by digit until find the minimum number.I want to create an Array to do that.But I can't...
I haven't clear idea to solve this this question.can you help me to do that??:confused:
I tried to do this question.But I can't take a right approach. This is the question:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It can be seen that the number, 125874...
ok..I think I can got your ideas. Thanks for all of you.:-bd
I mean when we change L2 like this:
l[0]=78;
System.out.println(l);
in that case the output is different from char array.So I want to know what's the between char array & integer...
Is the char array must override with toString method??????why the integer array doesn't match in that concept???
I think,
L1: It's default value of char(null character ('\0'))
L2: first two array element when we create it in heap.
L3: I can't explain about that..please help me.
L4 : This is the same in L2....
anyone can explain me the output of this code line by line...
class Example{
public static void main(String args[]){
char cr[]=new char[3];
int l[]=new int[3];...
hi,
I'm new for java.I think you may help me to resolve my problems..:confused: