Comparing access specifiers  Protected

Why protected access specifiers are used ? .
Where comes the difference of using
void fun1(int a,intb)
and
protected void fun(int a, int b)
}

From http://www.rijas.t35.com ,
Note that I did experiment in a variable as protected
not in a method
I did both but saw no diffrence from
no-access Specifiers and
protected access specifiers
I extend it two times and
used package one time
but saw no difference .
I am sure ...U can help me !!!
package pkg;
   class DatePro
       protected  int yy;
   class DatePro2 extends DatePro
       protected int mm;
public class Date extends DatePro2
               int dd;
          public void getDate()
                    System.out.println(dd+" "+mm+" "+yy);
       public  void setDate(int d,int m, int y)
                    dd=d;
                    mm=m;
                    yy=y;
import pkg.*;
class PkgCheck1
         void   pkgCall()
                    int a=100,b=200;
                    Date d1=new Date();
                    d1.setDate(10,5,07);
                    d1.getDate();
class PkgCheck2 extends PkgCheck1
             public static void main(String args[])
                PkgCheck2 p1 =new PkgCheck2();
               p1.pkgCall();
                System.out.println("Hi  I am Rijas P A "+ " You  create a folder pkg  and place Date.java in it");
                System.out.println("Place PkgCheck2.java - above that folder compile and run PkgCheck2.java");
thank you...
Edited by: omnie on Oct 26, 2007 4:27 PM

Similar Messages

  • Regarding Protected access specifier

    Hi ,
    I thought that indeed you could access protected data member from another package IF you are using Inheritance. It makes the data memeber in question "friendly" to the derived class. At least that is my understanding.
    You can not access protected data element directly in different packages. package test1;
    public class Test123 {
    protected int x=42;
    package test2;
    import test1.Test123;
    public class Test234 extends test1.Test123{
         public static void main(String args[]){
              Test123 ob=new Test123();
              System.out.println("x="+ob.x);
    but My question is that ..if u run this program its not compile..Compile time exception is throws saying that the field Test123.x is not visible..but according to protected access specifier this will work...and one thing that if i make field ' x ' of Test123 as public it is working... How it is possible ...can anybody pls help it out.. Thanx in advance...

    This access is provided even to subclasses that reside in a different package from
    the class that owns the protected feature.As you have found this (and similar) can be confusing.
    Have a look at the Java Language Specification (http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.6.7) "6.6.7 Example: protected Fields, Methods, and Constructors". Can you see the difference between the delta() and delta3d() methods?
    "A protected member or constructor of an object may be accessed from outside the package in which it is declared only by code that is responsible for the implementation of that object." As another example of this, the following compiles OKpackage test2;
    import test1.Test123;
    public class Test234 extends test1.Test123 {
        public static void main(String args[]) {
            Test234 ob = new Test234();
            System.out.println("x=" + ob.x);
    }When run it prints "42" - showing that the same d@mn field is being accessed! Like you, I'd appreciate hearing a simple rationale for this (if there is one).

  • ALV - access to protected method

    Hello,
    I have a object from class "CL_GUI_ALV_GRID" and want to change the protected attribute "EVT_DELAYED_CHANGE_SELECTION     Constant     Protected" with the method
        CALL METHOD alv_grid->SET_DELAY_CHANGE_SELECTION
          EXPORTING
            time = lv_delay.
    How can I access this protected attribute?
    Thanks in advance,
    Holger

    This will do what you want
    Trick is to define a sub class inheriting the super class where the protected attributes and methods exist in - then you can access the protected methods and attributes.
    If you do this don't forget to call  the SUPER CONSTRUCTOR (of the class you are inheriting from) in your constructor method. Code example shown below.
    Here I want the original and modified table of an alv grid but you can adapt this code to whatever you need.
    Hope it helps.
    create blank screen (100) with a custom container CCONTAINER1 and the following scren logic in it
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    now look at the code here. Note text in Bold
    PROGRAM zdynfieldcat.
    class zcltest definition  deferred.  "For field symbol reference.
    Simple test of dynamic ITAB with user defined (not ddic) fields
    Build dynamic fcat
    Table structure obtained via new RTTI functionality
    use ALV grid to display and edit.
    Create a blank screen 100 with a custom container called CCONTAINER1.
    James Hawthorne
    Define field symbols as these can't be defined in classes
    field-symbols: <dyn_table> type standard table,
                   <g2> type ref to zcltest,
                   <g1> type ref to cl_gui_custom_container,
                   <actual_tab> type standard table,
                   <outtab> type table,
                   <fs1> type ANY,
                   <FS2> TYPE TABLE,
                   <fs3> type table,
                   <fs4> type table,
                   <fs5> type  table.
    <b>class zcltest definition inheriting from cl_gui_alv_grid.
    define this as a subclass so we can access the protected attributes
    of the superclass cl_gui_alv_grid</b>
      public section.
        types:  g4 type ref to cl_gui_custom_container.
        types:  g3  type ref to cl_alv_changed_data_protocol.
        data:   i_parent type g4,
                lr_rtti_struc TYPE REF TO cl_abap_structdescr, "RTTI
        zog like line of lr_rtti_struc->components. "RTTI
        types: struc like zog.
        types: struc1 type table of struc.
        methods:
           constructor
               importing i_parent type g4,
           disp_tab
               importing  p_er_data_changed type g3,
           create_dynamic_fcat
               importing zogt type struc1
               exporting it_fldcat type lvc_t_fcat.
    Protected section.
       data: stab type ref to data,
            wa_it_fldcat type lvc_s_fcat,
            c_index type sy-index.
    endclass.
    <b>class zcltest implementation.
      METHOD constructor.
        CALL METHOD super->constructor
          EXPORTING
            i_appl_events = 'X'
            i_parent      = i_parent.
          endmethod
    method disp_tab.
    *mt_outtab is the data table held as a protected attribute
    in class cl_gui_alv_grid.
        assign me->mt_outtab->* TO <outtab>. "Original data
        assign p_er_data_changed->mp_mod_rows TO <FS1>.
        stab = p_er_data_changed->mp_mod_rows.
        assign p_er_data_changed->mt_inserted_rows to <fs3>.
        assign p_er_data_changed->mt_deleted_rows to <fs4>.
        assign p_er_data_changed->mt_mod_cells to <fs5>.
        assign stab->* TO <fs2>.
    do whatever you want with <outtab>
    contains data BEFORE changes each time.
    Note that NEW (Changed) table has been obtained already by
    call to form check_data USING P_ER_DATA_CHANGED
    TYPE REF TO CL_ALV_CHANGED_DATA_PROTOCOL.
    Entered data is in table defined by <fs2>
    In this method you can compare original and changed data.
    Easier than messing around with individual cells.
    do what you want with data in <fs2> validate / update / merge etc
      endmethod.</b>
      method create_dynamic_fcat.
        loop at zogt into zog.
          c_index = c_index + 1.
          clear wa_it_fldcat.
          wa_it_fldcat-fieldname = zog-name .
          wa_it_fldcat-datatype = zog-type_kind.
          wa_it_fldcat-inttype = zog-type_kind.
          wa_it_fldcat-intlen = zog-length.
          wa_it_fldcat-decimals = zog-decimals.
          wa_it_fldcat-coltext = zog-name.
          wa_it_fldcat-lowercase = 'X'.
          if c_index eq 2.
            wa_it_fldcat-emphasize = 'C411'.
          endif.
          if c_index eq 3.
            wa_it_fldcat-emphasize = 'C511'.
          endif.
          append wa_it_fldcat to it_fldcat .
        endloop.
      endmethod.                    "create_dynamic_fcat
    endclass.                    "zcltest IMPLEMENTATION
    class lcl_grid_event_receiver definition.
      public section.
    methods:
        handle_data_changed
             for event data_changed of zcltest
            for event data_changed of cl_gui_alv_grid
             importing  er_data_changed,
        toolbar
             for event toolbar of zcltest
             importing e_object
             e_interactive,
        user_command
             for event user_command of zcltest
             importing e_ucomm.
    endclass.
    class lcl_grid_event_receiver implementation.
      method handle_data_changed.
    code whatever required after data entry.
    various possibilites here as you can get back Cell(s) changed
    columns or the entire updated table.
    Data validation is also possible here.
        call method <g2>->disp_tab
          EXPORTING
            p_er_data_changed = er_data_changed.
      endmethod.                    "handle_data_changed
      method toolbar.
        data : ls_toolbar type stb_button.
        clear ls_toolbar.
        move 0 to ls_toolbar-butn_type.
        move 'EDIT' to ls_toolbar-function.
        move space to ls_toolbar-disabled.
        move 'Edit' to ls_toolbar-text.
        move icon_change_text to ls_toolbar-icon.
        move 'Click2Edit' to ls_toolbar-quickinfo.
        append ls_toolbar to e_object->mt_toolbar.
        clear ls_toolbar.
        move 0 to ls_toolbar-butn_type.
        move 'UPDA' to ls_toolbar-function.
        move space to ls_toolbar-disabled.
        move 'Update' to ls_toolbar-text.
        move icon_system_save to ls_toolbar-icon.
        move 'Click2Update' to ls_toolbar-quickinfo.
        append ls_toolbar to e_object->mt_toolbar.
        clear ls_toolbar.
        move 0 to ls_toolbar-butn_type.
        move 'EXIT' to ls_toolbar-function.
        move space to ls_toolbar-disabled.
        move 'Exit' to ls_toolbar-text.
        move icon_system_end to ls_toolbar-icon.
        move 'Click2Exit' to ls_toolbar-quickinfo.
        append ls_toolbar to e_object->mt_toolbar.
      endmethod.                    "toolbar
      method user_command.
        case e_ucomm .
          when 'EDIT'. "From Tool bar
            perform set_input.
            perform init_grid.
          when 'UPDA'. "From Tool bar
            perform refresh_disp.
            perform update_table.
          when 'EXIT'. "From Tool bar
            leave program.
        endcase.
      endmethod.                    "user_command
    endclass.                    "lcl_grid_event_receiver IMPLEMENTATION
    program data
    include <icon>.
    define any old internal structure NOT in DDIC
    types: begin of s_elements,
    anyfield1(20) type c,
    anyfield2(20) type c,
    anyfield3(20) type c,
    anyfield4(20) type c,
    anyfield5(11) type n,
    end of s_elements.
    data: wa_element type s_elements,
    wa_data type s_elements.
    Note new RTTI functionality allows field detail retrieval
    at runtime for dynamic tables.
    data:
            grid1 type ref to zcltest,
            grid_handler type ref to lcl_grid_event_receiver,
            c_dec2 type s_elements-anyfield5,
            wa_it_fldcat type lvc_s_fcat,
            it_fldcat type lvc_t_fcat,
            lr_rtti_struc TYPE REF TO cl_abap_structdescr, "RTTI
            lt_comp TYPE cl_abap_structdescr=>component_table,"RTTI
            ls_comp LIKE LINE OF lt_comp, "RTTI
            zog like line of lr_rtti_struc->components,  "RTTI
            struct_grid_lset type lvc_s_layo,
            l_valid type c,
            new_table type ref to data.
            types: struc like zog.
    data:  zogt type table of struc,
            grid_container1 type ref to cl_gui_custom_container,
            g_event_receiver type ref to lcl_grid_event_receiver,
            ok_code like sy-ucomm,
            i4 type int4.
    start-of-selection.
      call screen 100.
    module status_0100 output.
      if grid_container1 is initial.
        create object grid_container1
        exporting
        container_name = 'CCONTAINER1'.
        assign grid_container1 to <g1>.
        create object grid1
         exporting i_parent = grid_container1.
    we need reference to this instance so we can use
    Methods etc of zcltest class and alv (superclass)
    in our event receiver class.
         assign grid1 to <g2>.
        create object grid_handler.
        set handler:
        grid_handler->user_command for grid1,
        grid_handler->toolbar for grid1,
        grid_handler->handle_data_changed for grid1.
    Get the Internal table structure
        lr_rtti_struc ?= cl_abap_structdescr=>describe_by_data( wa_data ).
    Build field catalog just use basic data here
    colour specific columns as well
        zogt[] = lr_rtti_struc->components.
          call method grid1->create_dynamic_fcat
          EXPORTING
            zogt      = zogt
          IMPORTING
            it_fldcat = it_fldcat.
    Create dynamic internal table and assign to field symbol.
    Use dynamic field catalog just built.
      call method cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fldcat
        IMPORTING
          ep_table        = new_table.
      assign new_table->* to <dyn_table>.
        perform populate_dynamic_itab.
        perform init_grid.
        perform register_enter_event.
    set off ready for input initially
        i4 = 0.
        call method grid1->set_ready_for_input
          EXPORTING
            i_ready_for_input = i4.
      endif.
    endmodule.                    "status_0100 OUTPUT
    module user_command_0100 input.
    *PAI not needed in OO ALV anymore as User Commands are handled as events
    *in method user_command.
    *we can also get control if the Data entered and the ENTER is pressed by
    *raising an event.
    Control then returns to method handle_data_changed.
    endmodule.                    "user_command_0100 INPUT
    form populate_dynamic_itab.
    load up a line of the dynamic table
      c_dec2 = c_dec2 + 11.
      wa_element-anyfield1 = 'Tabbies'.
      wa_element-anyfield2 = 'ger.shepards'.
      wa_element-anyfield3 = 'White mice'.
      wa_element-anyfield4 = 'Any old text'.
      wa_element-anyfield5 = c_dec2.
      append wa_element to <dyn_table>.
    endform.                    "populate_dynamic_itab
    form exit_program.
      call method grid_container1->free.
      call method cl_gui_cfw=>flush.
      leave program.
    endform.                    "exit_program
    form refresh_disp.
      call method grid1->refresh_table_display.
    endform.                    "refresh_disp
    form update_table.
    The dynamic table here is the changed table read from the grid
    after user has changed it
    Data can be saved to DB or whatever.
      loop at <dyn_table> into wa_element.
    do what you want with the data here
      endloop.
    switch off edit mode again for next function
      i4 = 0.
      call method grid1->set_ready_for_input
        EXPORTING
          i_ready_for_input = i4.
    endform.                    "update_table
    form set_input.
      i4 = 1.
      call method grid1->set_ready_for_input
        EXPORTING
          i_ready_for_input = i4.
    endform.                    "set_input
    form switch_input.
      if i4 = 1.
        i4 = 0.
      else.
        i4 = 1.
      endif.
      call method grid1->set_ready_for_input
        EXPORTING
          i_ready_for_input = i4.
    endform.                    "switch_input
    form init_grid.
    Enabling the grid to edit mode,
      struct_grid_lset-edit = 'X'. "To enable editing in ALV
      struct_grid_lset-grid_title = 'Jimbos Test'.
       call method grid1->set_table_for_first_display
        EXPORTING
          is_layout       = struct_grid_lset
        CHANGING
          it_outtab       = <dyn_table>
          it_fieldcatalog = it_fldcat.
    endform.                    "init_grid
    form register_enter_event.
      call method grid1->register_edit_event
        EXPORTING
          i_event_id = cl_gui_alv_grid=>mc_evt_enter.
    Instantiate the event or it won't work.
      create object g_event_receiver.
      set handler g_event_receiver->handle_data_changed for grid1.
    endform.                    "register_enter_event

  • Access specifiers for interface methods

    When we implement the interface ,we have to specify the implementing method access specifier to be "PUBLIC" ,but not "PROTECTED" or "PRIVATE".
    Compiler is giving an error -- attempting to assign weaker access privileges ,when we specify protected.
    what is the internal reason for this?Why we shouldnt make the access weaker in the implementing class.
    Can any one help me on this.Your help is highly appreciated.

    When we implement the interface ,we have to specify
    the implementing method access specifier to be
    "PUBLIC" ,but not "PROTECTED" or "PRIVATE".
    Compiler is giving an error -- attempting to assign
    weaker access privileges ,when we specify protected.
    what is the internal reason for this?There is absolutely no point in having a private interface method. The interface represents a visible abstraction and private methods are never visible so it is a contradiction in terms.
    An interface is intended to represent an abstraction that a user (software) uses. Protected via child/parent represents a usage that is restricted to a child from a parent. The child can already see the parent so there is no point in having an abstraction for the child. And it would probably be unwise to limit a child by such an abstraction.
    Protected via the package and interfaces is more contentious as to why it is not allowed. There are those that argue that this should be allowed so that a package can use interfaces but restrict them to the package. To me this seems like a minor point given that most interfaces will probably represent an abstraction to other packages and not within a single package. This applies specifically to default access as well.

  • Access Specifiers for a class

    Why we can't declare private or protected for a class as access specifier.
    Can you give me an example on it.

    This is the third time someone asked something like this today:
    http://forum.java.sun.com/thread.jspa?threadID=664848 (where someone references your post on JavaRanch).
    http://forum.java.sun.com/thread.jspa?threadID=664790

  • Need new access specifier

    I think there must be another access specifier that is like protected but not friendly, I mean only the supclasses can access that, not the classes in that package.
    Suppose a class that has private or friendly fields and I had to define another field of the same type for its subclass.
    Or I have a class with a protected field that I know I will use it if I want to define a subclass of it. But I don't want to let the other classes in thatpackage modify this field unintentionally.
    The problem is not only for fields. There are situations that I want to permit subclasses to call a method but I don't want other classes in the same package call it.

    there isn't.
    perhaps you need to think more about which classes sit in which packages ?
    maybe a better package structure would give you this control.

  • About access specifiers (inheritance)

    abstract Class A
    abstract public add();
    Class B extends A
    protected add() //this wont work
    //some code here
    The access specifier for add method in A is public ,and in B is protected.This is not allowed by compiler.
    Why cant we make the access weaker in the sub class?What is the drawback in allowing to make the access weaker.

    Because any class that uses class A has the right to expect to use the add() method, since it is public in A. Since B is an A, it must allow some one to use an instance of B as if it were an A.

  • C++: access-specifiers

    I'm currently taking a course in C++ programming and we are covering classes and objects. We had a discussion last night and could not come up with a good example of why you would ever need to use specifically, the private access-specifier, along with protected. Would this ever be useful and why? Please give an example.

    Presumably, as a very trivial example, you might not
    want a very particular error announcement to be
    accessible outside the actual class that it concerns.
    Start doing that kind of thing and who knows where
    you'll end up; you might get the kind of Error
    Messages of Dubious Provenance™ emitted by The
    Flagship Product™ of That Big Famous Software
    Company™. I mean, if the subclass is going to take on
    responsibility for detecting and reporting problems
    with its parent, think of all the other b.s. it's
    going to have to keep track of as well. You might as
    well just write straight C code.
    But along with the free advice, you get this bit of
    nagging: It's really unfair to yourself and your
    mates in the discussion group not to explore
    open-ended questions like this on your own. Even
    coming up with an off-target answer after thinking
    about it for awhile is better than having an answer
    handed to you. In the present context, Please give
    an example sounds suspiciously like asking for
    help with homework. Doing that online is VERY poor
    form.
    Mr.Stein,
    Your quick response is appreciated but the online scolding is not. This discussion was trivial and had nothing to do with an actual assignment. The instructor as well as my mates could not think of a reason why this would be done. Exploring this open ended question on my own would not only take time I don't have but also produce VERY poor design considering you should know what your code is doing before you sit down to type. I consider this forum a resource available for things such as this. I'm sure google could have pulled up actual code but I wanted interaction with coders such as yourself. Once again, your response is appreciated.

  • What is the difference between access specifiers and access modifiers?

    what is the difference between access specifiers and access modifiers? are they same? if not what is the difference.

    Access Specifier are used to specifiy how the member variable ,methods or class to other classes.They are public ,private and protected.
    Access Modifier:
    1.Access
    2.Non Access
    Access:
    public ,private,protected and default.
    Non Access:
    abstract,final,native,static,synchronized,transient,volatile and strictfp

  • HTTP 403 when trying to access a protected resource

    I'm setting up a very simple enviornment to test the basic functionalities of Access Manager 7.1 but I keep on getting an "HTTP 403 forbidden" error when trying to access a protected resouce. I think I've set the required policies, rules, etc., but still, I may have missed a step. Any ideas / advice will be greatly appreciated. Thanks.
    Here's my setup and steps I took.
    iamsys05.iamtest.com ¡V policy server, Access Manager 7.1 Update 1
    iamsys06.iamtest.com ¡V protected resource, Apache 2.2.8 web server
    On Policy Server (iamsys05):
    1.     Created ¡§Apache Policy 1¡¨ on top-level realm.
    2.     Under Apache Policy 1, created rule ¡§apache root¡¨ with service type = URL Policy agent and resource name: http://iamsys06.iamtest.com:8080/*
    3.     Under Apache Policy 1, created subjects ¡§all users¡¨ with type=Acess Manager Identity Subject and selected all users under the realm. One of these users is amAdmin.
    4.     Created agent profile user ¡§webagent¡¨ on top-level realm (amserver) [amserver „³ Subjects „³ Agent ].
    5.     Created user ¡§webagent¡¨ on top-level realm [amserver „³ Subjects „³ User].
    6.     Created role ¡§webagentrole¡¨ on top-level realm [amserver „³ Subjects „³ Role].
    7.     Assigned user ¡§webagent¡¨ to role ¡§webagentrole¡¨.
    8.     Set the privileges for webagentrole to ¡§Read and write access to all realm and policy properties¡¨
    9.     Added the webagent user account to com.sun.identity.authentication.special.users in AMConfig.properties file.
    com.sun.identity.authentication.special.users=
    cn=dsameuser,ou=DSAME Users,dc=sun, dc=com|cn=amService-UrlAccessAgent,ou=DSAME Users,dc=sun,dc=com |uid=dmgr,ou=people,dc=sun,dc=com|uid=webagent,ou=People,dc=amserver,dc=com
    10.     Restarted amserver application.
    On Protected Resource (iamsys06):
    1.     Installed Apache 2.2.8 web server and set listening port to 8080. Tested by opening http://iamsys06.iamtest.com:8080. Home page displayed (It works!)
    2.     Installed Policy Agent for Apache 2.2.
    3.     Restarted apache 2.2 web server
    4.     Opened http://iamsys06.iamtest.com:8080.
    5.     Browser redirected to http://iamsys05:9080/amserver/UI/Login?goto=http%3A%2F%2Fiamsys06.iamtest.com%3A8080%2F
    6.     Access Manager login page displayed
    7.     Entered a valid ID and password (amadmin). This is the Access manager admin account I use to login to the AM Admin console so I know the id and password are valid. Hit Login.
    8.     After about 30 seconds, browser is redirected to http://iamsys05:9080/amserver/UI/Login?AMAuthCookie=AQIC5wM2LY4SfcyNiM%2B36w9DDhY5NmKc2PF6%2Fx4x2%2FUJ18M%3D%40AAJTSQACMDE%3D%23. Brwser displays "HTTP 403 Forbidden. This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage." I get this with IE6.
    9.     Using Firefox, I get a ¡§Redirect Loop¡¨ error message ¡§Firefox has detected that the server is redirecting the request for this address in a way that will never complete.¡¨
    Thanks
    -Armand

    Installed tamper data and from what I can tell, the requests go back and forth between AM server and protected resource. Here's the Request Graph output.
    http://iamsys06.iamtest.com:8080/ 302 103
    http://iamsys05.iamtest.com:9080/.../Login?goto=http%3A%2... 302 16
    http://iamsys05:9080/.../Login?goto=http%3A%2F%2Fiams... 200 16
    http://iamsys05:9080/favicon.ico 404 50
    http://iamsys05:9080/.../Login?AMAuthCookie=AQIC5wM2LY4Sfcz... 302 183
    http://iamsys06.iamtest.com:8080/ 302 30
    http://iamsys05.iamtest.com:9080/.../Login?goto=http%3A%2... 302 17
    http://iamsys05:9080/.../Login?goto=http%3A%2F%2Fiams... 302 10711
    http://iamsys06.iamtest.com:8080/ 302 23
    http://iamsys05.iamtest.com:9080/.../Login?goto=http%3A%2... 302 15
    http://iamsys05:9080/.../Login?goto=http%3A%2F%2Fiams... 302 16
    http://iamsys06.iamtest.com:8080/ 302 18
    http://iamsys05.iamtest.com:9080/.../Login?goto=http%3A%2... 302 17
    http://iamsys05:9080/.../Login?goto=http%3A%2F%2Fiams... 302 13
    http://iamsys06.iamtest.com:8080/ 302 13
    http://iamsys05.iamtest.com:9080/.../Login?goto=http%3A%2... 302 10
    http://iamsys05:9080/.../Login?goto=http%3A%2F%2Fiams... 302 10
    http://iamsys06.iamtest.com:8080/ 302 16
    http://iamsys05.iamtest.com:9080/.../Login?goto=http%3A%2... 302 11
    http://iamsys05:9080/.../Login?goto=http%3A%2F%2Fiams... 302 12
    http://iamsys06.iamtest.com:8080/ 302 12
    http://iamsys05.iamtest.com:9080/.../Login?goto=http%3A%2... 302 10
    http://iamsys05:9080/.../Login?goto=http%3A%2F%2Fiams... 302 12
    http://iamsys06.iamtest.com:8080/ 302 12
    http://iamsys05.iamtest.com:9080/.../Login?goto=http%3A%2... 302 10
    | | | | |
    URI Status Duration 20:59:52.542 20:59:56.512 21:00:00.482 21:00:04.451 21:00:08.421

  • I can't access password protection manager on my External Hard Drive to unlock it

    I can't access password protection manager on my External Hard Drive to unlock it , its kind of infected by a virus I guess and it is not bring me the password protection manage screen to enter password and access my data...
    Solved!
    Go to Solution.

    Hi vahid22! Please provide the model number (usually on the bottom of the unit) of your Sony External Hard Drive. Thank you!

  • Can't access Password Protection Manager on my External Hard Drive to unlock it

    I can't access password protection manager on my External Hard Drive to unlock it , I got updated antivirus and I always use safely remove to remove the hard drive. I see the UNLOCK APP Drive, and the Public Area, but when I run the "Password Protection Manager.exe" file at UNLOCK APP Drive, the bar will just be fulfilled by approximately 60% by showing "Loading...", then it stops for many seconds, and it starts to run the Installation file (PasswordProtectionManagerSetup_F.exe) which will delete all unlocked files if I accept it to install.
    2 TB External Hard Drive Model HD-E2
    Model No.: OAW1AGK370300BF
    201307
    Please let me know how I can access my protected files (the locked drive).

    Hi vahid22! Please provide the model number (usually on the bottom of the unit) of your Sony External Hard Drive. Thank you!

  • Access Denied error (0x80070005) when trying to access System Protection or Restore

    When I attempt to access System Protection or System Restore, I get an error message "Access Denied- (0x80070005)". I hope someone knows a fix for this problem.

    Satellite P205-S7476 
    When I attempt to access ... System Restore, I get an error message "Access Denied- (0x80070005)".
    That probably indicates corruption in the restore points. The only way to fix it is to turn System Restore off and then on again. Unfortunately, that remove all the existing restore points.
       Turn System Restore on or off
    -Jerry

  • Problem with access specifier and static???

    I've a question. I saw a code written for Sun's Java Tutorial. The program had three class methods and all of them start like this:
    static public void methodName1{
    static public void methodName2{
    and
    static public void main(String[] args){
    My question is why the keyword static was used first? Why not access specifier? I mean what's the reason behind it? Is there any difference between them?
    Thanks in advance.
    --DM

    The order doesn't matter. The programmer thought it was a good idea for some reason. I might be tempted to do it if I had static and instance methods with the same name or something like that.
    public static void myMethod() {
    public void myMethod() {
    or
    static public void myMethod() {
    public void myMethod() {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Access to protected method is ot allowed

    Hi,
    there is class with a protected  method. I get the message
    "Access to protected method is ot allowed"
    How must such methods be called if they are protected ?
    Regards
    sas

    Erdem, please try to post in the correct forum.  ABAP Objects questions belong in this forum, not general.
    Second, Amit Khare is correct.  The concept of Public/Protected/Private methods and attributes is not limited to ABAP Objects.  It is a common concept to most object oriented programming languages.  But if your read the ABAP Help on the appropriate keywords, then it is explained very clearly.
    matt

Maybe you are looking for

  • Excel crashes after yosemite upgrade

    excel 2008 is now crashing when i try to print to paper or a pdf.  can anyone help with this matter.

  • Issue with Captivate 8 and SumTotal Learning Maestro LMS -

    I get blank screen when launching course published as SCORM 2004 using Captivate 8.  All publish settings are the same as used with Captivate 7 and all course properties and settings are the same in the LMS as courses published using Captivate 7. Whe

  • SQL SERVER AND ORACLE 8 COEXESTING

    I'M THINKING OF PORTING OVER TO ORACLE 8. I WOULD LIKE TO HAVE BOTH DATABASE MANAGERS RUNNING ON THE SAME DISK. IS THIS POSSIBLE? ARE THERE ANY KNOWN ISSUES THAT I SHOULD BE AWARE OF?

  • [Solved] was getting errors with wine, but found patched linux version

    Installed wine for the first time, following the wiki and reading most of the things linked there (such as the winehq faq for disabling winemenubuilder), made separate WINEPREFIXs for 32 and 64 bit, then unzipped a program (Meritous) into the 32 bit

  • Action Questions - Is scripting the answer?

    I'm in CS6 and have a few actions I need to do to 300+ files, I'm familiar with the actions process but this has me a bit stumped. The actions are as follows Open a pdf in Pshop called Main.psd select the 300 pages ( doc has multiple pages ) but lets