sulav's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
10 (0.01 per day)
Joined:
18-May 12
Profile Views:
281
Last Active:
User is offline Dec 30 2012 12:10 AM
Currently:
Offline

Previous Fields

Country:
NP
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

No latest visitors to show

Icon   sulav has not set their status

Posts I've Made

  1. In Topic: Confusion about Protected Access Specifier in Java

    Posted 26 Jun 2012

    I think you are not clear about my question.

    Both variable 'a' and method test() in ParentClass1 are protected. Then why is only the test method accessible in another class(ya in same package) but not variable a(though in same package,as you said).
  2. In Topic: this.getClass() can someone explain?

    Posted 14 Jun 2012

    View Postpbl, on 18 October 2008 - 12:59 PM, said:

    In your case, with the code you showed us, it will work because you know for sure that you are in the Applet code

    		url = getClass().getResource(filename);
    
    


    how can you call the getClass() method,w/o using the class/object name and a dot operator?I have seen getClass() been used w/o object name and dot operator.How is this possible?
  3. In Topic: Passing Graphics object to paint method

    Posted 30 May 2012

    we don't call it explicitly,but we override it.And while over-riding, we pass Graphics object to it rather than creating an object of Graphics class inside the over-ridden paint method,and calling Graphics' methods.

My Information

Member Title:
New D.I.C Head
Age:
26 years old
Birthday:
February 18, 1988
Gender:
Full Name:
Sulav Timsina
Programming Languages:
C, Java, Lua,

Contact Information

E-mail:
Private
Skype:
Skype  hitmeifucan
Facebook:
https://www.facebook.com/sulav?ref=tn_tnmn
Twitter:
sulavtimsina

Friends

Comments

sulav has no profile comments yet. Why not say hello?