khan ali

Greenhorn
+ Follow
since Nov 22, 2001
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 khan ali

From: asif ali <prelinux@yahoo.com>
date :11 /01/2002
Subject: To know termenology
To: javaclinic@yahoo.com ,
dear sir
network programming the following termenology is used.
would you like to explain the termenology.
1 .port.
2. socket.
3. IP Adress.
4."abstraction".

thanks .
19 years ago
FROM: asif ali<prelinux@yahoo.com)
DATE:11/10/2001
SUBJECT:non-static variable in static method via object refrence
sir
would you like to explain phenomena .
why non-static variable does not invoked in static method via
object refrence.
i found the

class StaticTest{
int a=10;
int b=3;
public static void main(String [] args){
StaticTest st = new StaticTest();
System.out.println(st.a); //doing well
System.out.println(st.b); //doing well
me();
}

public static void me(){
System.out.println(st.a); //error
System.out.println(st.b); //error
}
}
19 years ago
date:20/11/2001
from asif ali<prexml@yahoo.com>
subject :uncleared panel topic
sir
please help me undestand awt.
i would like to put panel object in Frame object.
how can i create it in Awt?

import java.awt.*;
class DemoPanel extends Frame{
DemoPanel(){
super("This is second bid");
Panel p = new Panel();// erroe why?
add(p); //error
p.setBounds(100,100,50,50);
p.setVisible(true);
}
public static void main(String arg []){
DemoPanel dd = new DemoPanel();
}
}
asif ali
<prexml@yahoo.com>
Q2. the following statement is hazy .please explain it.
statement1.
"PANEL: Panel is genric container for holding component"
statement2.
"Panel is concrete subclass of container."
thanks for givig time.
19 years ago