Vaishu Mol

Greenhorn
+ Follow
since Jan 21, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vaishu Mol

Hi friends,
Here is my xml coding.

Im displaying image and text on device. And i would like to capture the screen on my device and would like to send email the image+text.
How to capture the screen with image and text?
Please help me friends.
Thanks in advance.
14 years ago
Here my sample innerclass code :



And here my top level class code goes :




My question is Which one is better code when compare with JVM?
Why we are coming to inner class even we can do the same program without using innerclass?
Please help me friends.
14 years ago
And im coming with another doubt :-)

What is the use of inner class?


14 years ago
Thanks a lot buddy
14 years ago
Hi friends,
Im new to java codes. Im learning from the basic things.

How to create a static class. My coding goes like this :

package com.learning.sampleclass;

public static class Sample {
int i = 10;
String name = "Class";
void run(){
System.out.println("Integer : " + i);
}
void stop() {
System.out.println("Application closed......");
}

}
public class HelloClass {

/**
* @param args
*/
public static void main(String[] args) {

Sample sample = new Sample();
sample.run();
sample.i=20;
sample.run();
sample.stop();


}

}

But im getting an error that "Illegeal modifier for the class Sample".
How to create a static class?
14 years ago