×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor
    Join Date
    Dec 2012
    Posts
    59

    what are these void,extend,static,public,private

    Today i found a app that compiling j2me files in mobile.
    From this site mumey.wen.ru

    Thats why i started learning j2me today.
    I cant to find meanings of these words.

    'Void' is the main problem.i saw this in c++.

    What is usage of these words

    void,extend,static,public,private

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,569

    Re: what are these void,extend,static,public,private

    Void is actually an English word, and it is really used in that sense: in Java, C, C++ and many other languages it is mandatory to define a return type for your methods/functions. However there are many cases where it has no real meaning, there is no result to return. Then you write 'void'. In C/C++ it has other uses (storing/passing/returning a pointer of unspecified/any type), but this is the Java board here.
    Otherwise read some books. It is funny that you are asking questions here for a quarter year without knowing the language(s).
    http://books.google.com may be a good starting point, and you can also search for xy tutorial with Google, where xy could be a language.

  3. #3
    Regular Contributor
    Join Date
    Dec 2012
    Posts
    59

    Re: what are these void,extend,static,public,private

    yes i am still learning.i started learnig by my self.none help me.iam not fluent in english.aged 18.qualification is only 10th.

    Started learning with my old 6600. in my district 'thrissur' none here to help me.
    And i have only a mobile

  4. #4
    Regular Contributor
    Join Date
    Dec 2012
    Posts
    59

    Re: what are these void,extend,static,public,private

    today i got internet .i had searched these but i cant to find any usefull things.

    tutorial is hard to read in mobile.and
    Thats why iam asking in this forum

  5. #5
    Regular Contributor
    Join Date
    Dec 2012
    Posts
    59

    Re: what are these void,extend,static,public,private

    can you tell me in j2me what are these void,extend,static,public,private

  6. #6
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: what are these void,extend,static,public,private

    there must be some indian websites with java tutorials available ?!
    something like : http://javanoteshindi.blogspot.nl/20...-in-hindi.html
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  7. #7
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: what are these void,extend,static,public,private

    What you're asking is "please teach me Java and Object Oriented programming", and that's significantly beyond the scope of a forum. I could lecture you eight hours a day for a week just answering the question you've asked. And you'll have a dozen more questions the same.

    When I was your age, we had no internet tutorials. We used "books". Since you need to know Java 2 (not Java 7), you might find an old, second-hand book about Java you can use.

  8. #8
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,105

    Re: what are these void,extend,static,public,private

    I would start with the Java Tutorial because it is free and answers many things. Furthermore, it is for starters, cross-comers and experienced guys. And it is free. If you are more into books, it is available as book as well. Yes, it deals with J2SE 7 and not Java 1.1, we are using in J2ME MIDP – anyway it is a good and quite complete tutorial to learn Java.

  9. #9
    Regular Contributor
    Join Date
    Dec 2012
    Posts
    59

    Re: what are these void,extend,static,public,private

    Quote Originally Posted by grahamhughes View Post
    What you're asking is "please teach me Java and Object Oriented programming", and that's significantly beyond the scope of a forum. I could lecture you eight hours a day for a week just answering the question you've asked. And you'll have a dozen more questions the same.

    When I was your age, we had no internet tutorials. We used "books". Since you need to know Java 2 (not Java 7), you might find an old, second-hand book about Java you can use.


    I only need this.

    I know how to use functions.and what is the structure of language
    And use of api package

    But i cant to write.without meaning of these words

    I thing similar words in python


    Extend - from import
    Public-global
    Private-(local i think-(self))
    Class-class
    Void- (null)
    Return-return

    I think there are some faults

    Can you help me
    Last edited by Abilash ov; 2013-03-24 at 08:55.

  10. #10
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: what are these void,extend,static,public,private

    Quote Originally Posted by Abilash ov View Post
    I only need this.
    Trust me, it is apparent from your question that there are other important things you don't know. We are reluctant to answer you, because we would be encouraging you to use this method of learning the smallest possible amount of knowledge you need to solve each problem, rather than engaging in a process of self-directed learning of the complete subject. Learning of the complete subject is necessary to give you the full set of tools for problem solving. OK, I will indulge you on this occasion, but if you require more information about the Java language, if you have problems that stem from not understanding the language basics correctly, or if you don't understand my answer because you're not understanding the concepts I'm describing, I will repeat my advice for you to get a book on Java.

    extends: is a subclass of
    public: (of class-member) is accessible within all other classes, (of a class) is accessible to classes in other packages
    private: is accessible only within this class
    class: begin the definition of a class
    void: method does not return any value
    return: return a value from this method (exiting the method, unless it is within a "try" or "catch" block that contains a corresponding "finally" clause, in which case finally clauses are executed first)

  11. #11
    Regular Contributor
    Join Date
    Dec 2012
    Posts
    59

    Re: what are these void,extend,static,public,private

    thanks. i understand what you say.my problems solved. realy i cant to start learning without meaning of these words.
    thats why iam said
    'i need only this'.

    Thanks for spending time with my small problem.

Similar Threads

  1. Replies: 1
    Last Post: 2011-06-14, 07:31
  2. HTML Control API for Symbian OS public or private
    By chandantheracer in forum Symbian
    Replies: 7
    Last Post: 2010-11-09, 08:02
  3. Suggestion required regarding generation of Public-Private Key with SATSA
    By basha_ahmad in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2009-07-28, 14:16
  4. Replies: 2
    Last Post: 2004-03-08, 08:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •