Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Pls explain me the code logic

  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pls explain me the code logic

    Hi all,

    I am very new to JAVA..Can anyone pls explain me the following code..
    package org.bigbluebutton.core.managers {
    	import org.bigbluebutton.core.vo.Config;
     
    	public class ConfigManager {
    		public var configs:Config;
     
    		public function setConfig(conf:Config):void {
    			this.configs = configs;
    		}
    	}
    }
    Last edited by helloworld922; March 25th, 2011 at 02:39 AM.


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Pls explain me the code logic

    That looks like Javascript syntax. Javascript != Java.

    However, if I had to take a guess, it looks like you have a class named ConfigManager and there's one field and a setter method for that field.

Similar Threads

  1. [SOLVED] abstract classes, can you explain?
    By Scotty in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 5th, 2011, 08:01 PM
  2. Replies: 1
    Last Post: December 13th, 2010, 05:13 AM
  3. Can anyone explain this code for me
    By gudwindavids in forum Object Oriented Programming
    Replies: 1
    Last Post: December 11th, 2009, 02:29 PM
  4. Help me this code! Someone please explain strings!
    By helpthiscode in forum What's Wrong With My Code?
    Replies: 4
    Last Post: October 16th, 2009, 03:13 AM
  5. can anyone explain this?
    By chronoz13 in forum Java Theory & Questions
    Replies: 4
    Last Post: October 12th, 2009, 02:51 AM