Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!

leela krishhna

Greenhorn
+ Follow
since Aug 24, 2012
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 leela krishhna

abstract class Foo
{

}

What is the use of abstract key word at here,
even though i am not declare any method in this class..
10 years ago
Requirement:

class A
{
void m1()
{
System.out.println("Hello JAVA");
}
}

For the above class A, we need to create 5 Obects only,
If we try create 6th object it will returns the same reference of previous..
(Means we need to create only 5 Objects)
10 years ago
sorting on date type...the problems is typecasting in date to string again string to Date.



10 years ago
In the below Code, i have the File qwer.vmg, which is not reading..
It showing errors.. how can i read that file...
Please give me solution.. or way to solve it...

import java.io.*;
class FileRead
{
public static void main(String args[])
{
try{
// Open the file that is the first
// command line parameter
FileInputStream fstream = new FileInputStream("qwer.vmg");
// Get the object of DataInputStream
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
//Read File Line By Line
while ((strLine = br.readLine()) != null) {
// Print the content on the console
System.out.println (strLine);
}
//Close the input stream
in.close();
}catch (Exception e){//Catch exception if any
System.err.println("Error: " + e.getMessage());
}
}
}
11 years ago
Finding no.of Objects created for a class...
I finally got this code...
Any modifications, please suggest

11 years ago
How to create simple User defined Immutable class...
11 years ago
How increase that static value every time of creating objest..

Please give the code for it...
11 years ago
How to find the Number of objects that are created for a particular class...

Mention any referral example code....
11 years ago

leela krishhna wrote:Is Servlet is Singleton class or not..

Why ,I need Reason.. Any practical proof is there...

11 years ago
Is Servlet is Singleton class or not..
11 years ago